All commands (14,187)

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

Find passwords that has been stored as plain text in NetworkManager

Converts uppercase chars in a string to lowercase

Quick HTML image gallery
More compact and direct.

Find unused IPs on a given subnet

change microdvd subtitles framerate
this command example converts to 25 fps subtitles that were originally created for 24 fps movie

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

Matrix Style
It's the same command as submitted, but first with a command to make all characters green. It's the only way it looked "matrix-like" on my gnome-terminal.

Validate all XML files in the current directory and below
If everything validates, there's no output. Can be handy to run on a cron job set up to email output.

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

Remove audio stream from a media file
This syntax also works for ffmpeg as avconv is a fork of ffmpeg.


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: