Commands by aajjk (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

Anti Syn Ddos
Ddos syn attack

processes per user counter
awk is evil!

Stat each file in a directory
This will run stat on each file in the directory.

Get your outgoing IP address
should be very consistent cause it's google :-)

start a VNC server for another user

Change a specific value in a path
Awk replaces the value of a specific field while retaining the field separator "/" .

Define a quick calculator function
defines a handy function for quick calculations from cli. once defined: $ ? 10*2+3

put all lines in comment where de word DEBUG is found

Print a row of 50 hyphens
Perl is installed by default on most modern OS when jot is not.

Show the 1000*1000 and 1024*1024 size of HDs on system


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: