Commands tagged Linux (266)

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands


Check These Out

Add all unversioned files to svn

list files recursively by size

Find usb device in realtime
Using this command you can track a moment when usb device was attached.

Top 15 processes with the largest number of open files
See the summary.

get a random 0/1, use it for on/off, yes/no
use it to add a random boolean switch to your script

Convert CSV to JSON
Replace 'csv_file.csv' with your filename.

Uniformly correct filenames in a directory
Useful if non-ascii characters in filenames have been improperly encoded. Replace "PROBLEM" with the incorrect characters (e.g. 'é'), and "FIX" with the correct ones (e.g. '?').

geoip information
geoip from maxmind try to get the small utility via: apt-get install geoip

Search some text from all files inside a directory

Examine processes generating traffic on your website
I often have to google this so I put it here for quick reference.


Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: