Commands by curiousstranger (3)

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

generate random password
generate password

Show all current listening programs by port and pid with SS instead of netstat

Deleting Files from svn which are missing

ignore hidden directory in bash completion (e.g. .svn)

Sum columns from CSV column $COL
More of the same but with more elaborate perl-fu :-)

ping a host until it responds, then play a sound, then exit
Audio acknowledgement for host availability. When running the command from a Linux systems, you can use "festival" or "espeak" instead of "say".

Set OS X X11 to use installed Mathematica fonts

grep for minus (-) sign
Use flag "--" to stop switch parsing

Dump all available man pages in a particular section
_Exit __clone2 _exit _llseek _newselect _syscall _sysctl accept accept4 access acct add_key ...

Gets the english pronunciation of a phrase
Usage: say hello world how are you today


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: