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

Check tcp-wrapping support
This function returns TRUE if the application supports tcp-wrapping or FALSE if not by reading the shared libraries used by this application.

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

Route outbound SMTP connections through a addtional IP address rather than your primary

List all authors of a particular git project
List everyone who committed to a particular project, listed alphabetically. To list by commits, add -n to the shortlog.

remove files and directories with acces time older than a given date
touch a dummy file with the specified date, then use find with -anewer .

Extract audio from Flash video (*.flv) as mp3 file

Get International Space Station sighting information for your city
This command outputs a table of sighting opportunities for the International Space Station. Find the URL for your city here: http://spaceflight.nasa.gov/realdata/sightings/

Pipe STDOUT to vim
The hyphen tells vim to open from STDOUT - saves having to create temporary files.

Find the package that installed a command

Install pip with Proxy
Installs pip packages defining a proxy


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: