Commands by bashrc (17)

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

command line fu roulette
retrieves the html from a random command line fu page, then finds commands on the page and prints them alternatively, pipe to bash (add "| bash" to the end) to execute the command (very risky) edit: had to adjust to properly display the portion that replaces HTML characters (e.g. " -> ")

find files larger than 1 GB, everywhere

Find the package that installed a command

Get a file from SharePoint with cURL
If you know the URL of a file on a SharePoint server, it's just a matter of logging in with your AD credentials to get the file with cURL

delete command line last word

Convert text to picture
generates a picture file with the text. Some other samples in: http://www.imagemagick.org/Usage/text/

grep processes list avoiding the grep itself
Trick to avoid the form: grep process | grep - v grep

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

Separates each frame of a animated gif file to a counted file, then appends the frames together into one sheet file. Useful for making sprite sheets for games.
requires imagemagick

Import/clone a Subversion repo to a git repo


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: