LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Tip: creating symlinks to another folder

Posted 09-01-2013 at 07: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 1093 Comments 0 the dsc is offline
Old

Taking Mint/KDE for a spin

Posted 08-30-2013 at 08:17 AM by rainbowsally
Updated 09-03-2013 at 02: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 582 Comments 0 rainbowsally is offline
Old
Rating: 2 votes, 5.00 average.

LinSSID – Graphical wireless scanning for Linux

Posted 08-27-2013 at 11:45 AM 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 1026 Comments 0 sridhar11 is offline
Old

Ignoring lines starting with space, and other patterns in bash_history

Posted 08-25-2013 at 11:18 PM by the dsc (linux-related notes)
Updated 08-25-2013 at 11:22 PM 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 1163 Comments 0 the dsc is offline
Old

Apache performance tuning

Posted 08-23-2013 at 07: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 1119 Comments 0 Pyplate is offline

  



All times are GMT -5. The time now is 02:41 AM.

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
Open Source Consulting | Domain Registration