http://www.commandlinefu.com/commands/browse/sort-by-votes
3/25/2009 5:13:35 PM
saw a couple neat ones on there
3/25/2009 5:23:12 PM
That's awesome. There's some really slick stuff in there.
3/25/2009 5:57:55 PM
oh man. this is awesome.
3/25/2009 9:51:53 PM
Yeah how the fuck did I not know cd - ??? and sudo !!
3/25/2009 11:04:36 PM
yeah cd - could be very helpful
3/25/2009 11:11:35 PM
Major win.
3/25/2009 11:39:41 PM
really cool
3/25/2009 11:52:23 PM
sudo !! is probably the most useful one i've seenthat and the one that will let vim save as root even if you didn't open it w/ sudo
3/26/2009 7:29:21 AM
$mount -t tmpfs tmpfs /mnt -o size=1024m
3/26/2009 10:15:06 AM
I just did this to autorefactor one of our builds:ant snmcpe | grep method | egrep -io '\bget[A-Z]+' > methods then use method to do a find . -name \*.java -exec sed -i s/methodfromfile/newmethod/g {} \;-o is one of the most useful grep switches in existence as -i is one of the most useful sed switches. I like the python -m SimpleHTTPServer too[Edited on March 26, 2009 at 10:18 AM. Reason : a]
3/26/2009 10:16:37 AM
Lot of good commands listed there. Thanks for posting.
3/26/2009 8:19:22 PM