Commands using aplay (8)

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

tcpdump from src to dst
then open with wireshark

Redirect tar extract to another directory
The command extracting the tar contents into particular directory ...

dd with progress bar
piping through 'pv' shows a simple progress/speed bar for dd. This is a replacement for my otherwise favorite 'while :;do killall -USR1 dd;sleep 1;done'

What is my public IP-address?
Very effective, use only DNS protocol. The @ part is optional if you already set opendns servers as default ns servers.

Find files and calculate size of result in shell
Use find's internal stat to get the file size then let the shell add up the numbers.

dump 1KB of data from ram to file

Delete Empty Directories
Deletes empty directories and prints an error if directory is not empty.

Pronounce an English word using Merriam-Webster.com
The original was a little bit too complicated for me. This one does not use any variables.

yes > /dev/null
your laptop can be a good heater :)

List only directories, one per line


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: