User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » HAWT Unix Page [1]  
CaelNCSU
All American
6883 Posts
user info
edit post

http://www.commandlinefu.com/commands/browse/sort-by-votes

3/25/2009 5:13:35 PM

qntmfred
retired
40552 Posts
user info
edit post

saw a couple neat ones on there

3/25/2009 5:23:12 PM

darkone
(\/) (;,,,;) (\/)
11609 Posts
user info
edit post

That's awesome. There's some really slick stuff in there.

3/25/2009 5:57:55 PM

evan
All American
27701 Posts
user info
edit post

oh man. this is awesome.

3/25/2009 9:51:53 PM

CaelNCSU
All American
6883 Posts
user info
edit post

Yeah how the fuck did I not know cd -

??? and sudo !!

3/25/2009 11:04:36 PM

sarijoul
All American
14208 Posts
user info
edit post

yeah cd - could be very helpful

3/25/2009 11:11:35 PM

gs7
All American
2354 Posts
user info
edit post

Major win.

3/25/2009 11:39:41 PM

greeches
Symbolic Grunge
2604 Posts
user info
edit post

really cool

3/25/2009 11:52:23 PM

evan
All American
27701 Posts
user info
edit post

sudo !! is probably the most useful one i've seen

that 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

YOMAMA
Suspended
6218 Posts
user info
edit post

$mount -t tmpfs tmpfs /mnt -o size=1024m


Mount a temporary ram partition
Makes a partition in ram which is useful if you need a temporary working space as read/write access is fast. Be aware that anything saved in this partition will be gone after your computer is turned off.

Hmmmm - this could be handy

3/26/2009 10:15:06 AM

CaelNCSU
All American
6883 Posts
user info
edit post

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

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

Lot of good commands listed there. Thanks for posting.

3/26/2009 8:19:22 PM

 Message Boards » Tech Talk » HAWT Unix Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.