Commands by twjolson (5)

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

Extract all 404 errors from your apache accesslog (prefix lines by occurrences number)

Clear cassandra snapshots that are older than 30 days
Better than: $ nodetool clearsnapshot

Stamp a text line on top of the pdf pages.
To quickly add some remark, comment, stamp text, ... on top of (each of) the pages of the input pdf file.

Close specify detached screen
-X Send the specified command to a running screen session. -S Option to specify the screen session if you have several screen sessions running. $screen -ls for listing current screens and its sessionname

Scan all open ports without any required program

backup system over ssh, exlucde common dirs

Most used command

monitor memory usage

List only directories, one per line

Generate random IP addresses
It never ends


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: