Commands by tylerl (1)

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

Get own public IP address
Returns your external IP address to the command line using only wget

tail a log over ssh
This is also handy for taking a look at resource usage of a remote box. $ ssh -t remotebox top

PulseAudio: set the volume via command line
If you have more than one SINK

docker kill all containers

Watch several log files of different machines in a single multitail window on your own machine
this way you have the multitail with all its options running on your own machine with the tails of the two remote machines inside :)

Show what PID is listening on port 80 on Linux

backup local MySQL database into a folder and removes older then 5 days backups

Install pip with Proxy
Installs pip packages defining a proxy

watch your network load on specific network interface
-n means refresh frequency you could change eth0 to any interface you want, like wlan0

When was your OS installed?


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: