Commands by expelledboy (7)

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

Create a thumbnail from a video file

Check your unread Gmail from the command line
notice what happens when there is more than one unread message in a thread... also people please dont hardcode the password when you use curl. Leave it out and curl will ask you when it runs. Please...?

Display standard information about device
Queries the specified ethernet device for associated driver information

Edit Camera Model in metadata:

Relocate a file or directory, but keep it accessible on the old location throug a simlink.
Used for moving stuff around on a fileserver

Get all IPs via ifconfig
works on Linux and Solaris. I think it will work on nearly all *nix-es

Monitor memory usage
Monitor with watch command and vmstat, memory usage

calculate how much bogomips one cpu core has (assuming you have 4 cores).
on some distro's you have to replace "BogoMIPS" with "bogomips".

Capture SMTP / POP3 Email

website recursive offline mirror with wget
website recursive offline mirror with wget


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: