Linux Commandline hacked!!

The site is simply superb.
http://www.commandlinefu.com/

and it gets better,
http://www.commandlinefu.com/commands/browse/sort-by-votes

I mean, well being sort of a linux geek, I knew some of them. But, this shit was truly amazing. My personal cuties:
^search^replace (in the last command)
sudo !! (last command with sudo)
!search:p (check command history, but avoid running it (through :p))
:w !sudo tee % (vim – save a read only file as sudo)
echo “ls -l” | at midnight (as an alternative to cron :D)

and do not miss the icing :),
curl -u user:pass -d status=”Tweeting from the shell” http://twitter.com/statuses/update.xml

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s