Commands by rajarshi (2)

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

Compute running average for a column of numbers
This is an on-line algorithm for calculating the mean value for numbers in a column. Also known as "running average" or "moving average".

Draw kernel module dependancy graph.
parse "lsmod" output to "dot" format and pass it to "display". Without perl!

Get the 10 biggest files/folders for the current direcotry

Monitor RAID IO Usage
Shows the IO of the raid sync

pretend to be busy in office to enjoy a cup of coffee
Not as taxing on the CPU.

Find the package that installed a command

See size of partitions as human readable
See size of partitions as human readable and get extra informations about hdd and partitions

Edit a file on a remote host using vim

grep processes list avoiding the grep itself
Trick to avoid the form: grep process | grep - v grep

Find and copy scattered mp3 files into one directory
I used this command to recursively gather all mp3 files that were previously imported into their own directories (sorted by band name) in Songbird.


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: