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 both total size and number of files below any given svn directory
afaik, svn doesn't have a good, scriptable way of telling you these two basic pieces of information.

Email an svn dump
Dumps a compressed svn backup to a file, and emails the files along with any messages as the body of the email

Install Linux Kernel Headers

Display which distro is installed
Works on nearly all linux distros

extract element of xml
Prints the value of a XML node rather than the entire node.

Set OS X X11 to use installed Mathematica fonts

View details of network activity, malicious or otherwise within a port range.
View details of both TCP and UDP network activity within a specified port range.

Capitalize the first letter of every word

Search for a line of text in a directory of files recursively (while limiting to certain file extensions)

OpenSSL one line CSR & Key generation


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: