LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Tip: creating symlinks to another folder

Posted 09-01-2013 at 08:46 PM by the dsc (linux-related notes)
Tags symlink

The syntax of "ln" requires full path information of the "source" file. Therefore, if you issue something like "for file in *.foo ; do ln -s ./$file /other-folder/somewhere/$(echo $file | sed s/foo/bar/) ; done", the produced symlinks will be empty.

To avoid that, the command must be:

for file in *.foo ; do ln -s $PWD/$file /other-folder/somewhere/$(echo $file | sed 's/foo/bar/') ; done

$PWD, the environment variable of the...
Member
Posted in Uncategorized
Views 273 Comments 0 the dsc is offline
Old

Taking Mint/KDE for a spin

Posted 08-30-2013 at 09:17 AM by rainbowsally
Updated 09-03-2013 at 03:09 PM by rainbowsally (addendum)

[Added a PS about kubuntu getting 'harvested' by mint and openSUSE.]

[Rant at the top this time. Skip down to the dotted line to see if any of these tips are useful to you if you are a mint user. The links at this blog are all now broken. I will correct them with an explanation in a while.]

I used to be a suse/opensuse fan. It's no longer possible to continue with the suse distros though. The last usable version (for me) was 11.4, and that took a bit of effort....
Member
Posted in Uncategorized
Views 268 Comments 0 rainbowsally is offline
Old

LinSSID – Graphical wireless scanning for Linux

Posted 08-27-2013 at 12:45 PM by sridhar11

LinSSID is graphically and functionally similar to Inssider (Microsoft™ Windows®). It is written in C++ using Linux wireless tools and Qt4.

Full Story
Member
Posted in Uncategorized
Views 493 Comments 0 sridhar11 is offline
Old

Ignoring lines starting with space, and other patterns in bash_history

Posted 08-26-2013 at 12:18 AM by the dsc (linux-related notes)
Updated 08-26-2013 at 12:22 AM by the dsc

It may be a little bit unsafe to have "rm something" commands in your bash history, if you also have the history easily accessible through up and down keys.

The following line will make bash history ignore "rm" and "shutdown":

Code:
export HISTIGNORE="&:rm *:shutdown *"
I don't know the syntax, but it works.

Some people have add there an expression to make bash's history ignore any line starting with...
Member
Posted in Uncategorized
Views 453 Comments 0 the dsc is offline
Old

Apache performance tuning

Posted 08-23-2013 at 08:10 PM by Pyplate

I've spent the last few days tuning Apache. I've achieved quite a good performance increase, mostly by disabling unused modules. In tests with siege, my cluster can now handle over 900 transactions per second. Here's the full article on server cluster tuning.
LQ Newbie
Posted in Uncategorized
Views 672 Comments 0 Pyplate is offline

  



All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration