Commands using tail (292)

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

find text in a file
this will find text in the directory you specify and give you line where it appears.

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

List all open ports and their owning executables
Particularly useful on OS X where netstat doesn't have -p option.

Get absolut path to your bash-script
Another way of doing it that's a bit clearer. I'm a fan of readable code.

Show a prettified list of nearby wireless APs

check open ports without netstat or lsof

Send an email from the terminal when job finishes
Might as well include the status code it exited with so you know right away if it failed or not.

Install pip with Proxy
Installs pip packages defining a proxy

Recursively lists all files in the current directory, except the ones in '.snapshot' directory
This can be useful for those who have mounted NetApp file-systems with snapshot activated.

Adding specific CustomLog for each Virtual Domain of Apache


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: