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

list block devices
Shows all block devices in a tree with descruptions of what they are.

list ips with high number of connections

Recursively chmod all dirs to 755 and all files to 644

Turns red the stderr output
Reference: http://stackoverflow.com/a/4455706

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

Stat each file in a directory
Possible simplification of egrep-awk-sort with find and -exec with xargs.

rsync Command that limits bandwidth
Useful for transferring large file over a network during operational hours

Big Countdown Clock with hours, minutes and seconds
Figlet is easy to find for download on the internet, and works for any text. Quite cool.

vim insert current filename
insert filename Normal mode: "%p Insert mode: %

take a look to command before action
add |sh when you agree the list, I often use that method to prevent typos in dangerous or long operations


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: