29 Comments
- gforb, on 10/12/2007, -7/+75Get a beard. Don't shave. Don't comb. Talk in a whiny voice. Gain weight.
- Haroldx, on 10/12/2007, -5/+31You forgot the most outstanding: long hair.
- cyburdine, on 10/12/2007, -1/+18and why the hell do you want to LOOK like a Unix guru? go a step further and just learn to be one.
damn you kids and your instant gratification... in my day we walked uphill both ways to get to our mainframe... ;) - madmax7774, on 10/12/2007, -3/+12well, it's a nice start, but there is a hellof alot more to it than that. oh, by the way, I have been a unix admin for over 15 years, and I am an clean shaved, have short hair, and am in great shape.
- lava, on 10/12/2007, -5/+12http://www.simpsonstrivia.com.ar/simpsons-photos/wallpapers/comic-book-guy.gif
- DontSayFanboy, on 10/12/2007, -0/+6pushd/popd work on tcsh. I often use it if, say, I'm compiling a piece of software that has an unmet dependency. I'll pushd that dir on the stack, and then cd all over the place while I fill the dependencies. When I'm ready to return to the original thing I was working on, I just popd it back off.
"cd -" is just not useful in those kinds of cases. That's just like hitting "back" in your browser, but you can only do it once. pushd/popd is like setting a bookmark. I know I want to come back to this directory, but I'm not sure exactly when. I can either set a temporary variable with `pwd`, remember to type the whole thing in, or just pop it on the stack. - burke, on 10/12/2007, -3/+7...and the pizza-stained black sweat pants.
Nevertheless, I knew almost all of this, so I guess I'm really poking fun at myself. - inactive, on 10/12/2007, -1/+4This was a great article. For the most part it was nothing new, but I did pick up a few things like "pushd, popd" which is something I've been aching to be able to do for a long time.
Thanks. - otomo, on 10/12/2007, -2/+5They have limited usefulness.
Most of the time I cd to the directory needed and then just cd - (change to previous directory) back and forth.
It is rare I need to be in 3 directories at once, and if I do I normally just login again. - slasherx, on 10/12/2007, -2/+5That sounds more like a star wards nerd. :P
- inactive, on 10/12/2007, -0/+2*thinks DontSayFanboy is 31337 * far better skills than most of us
- GMorgan, on 10/12/2007, -0/+2Agreed that less >> more (a nice one for the mathematicians out there to cringe over). First thing that gets changed on most *nix systems is setting the PAGER value to less.
Agree wrt vi as well. Bar a few desktop targeting Linux systems I rarely seen a *nix without vi but I have to say I prefer girly vim. There should be a warning against RSI's when using Emacs. - davidod87, on 10/12/2007, -2/+4lava: ha ha, I love that guy.
http://www.youtube.com/watch?v=y_N5UQEZum8 - rolf, on 10/12/2007, -1/+2TFA:
"Everything is a stream
The first thing you need to know is that UNIX is based upon the idea of a stream. Everything is a stream, or appears to be. Device drivers look like streams, terminals look like streams, processes communicate via streams, etc... The input and output of a program are streams that you can redirect into a device, a file, or another program."
Actually, the creators of Unix moved on and made an OS called Plan 9 where everything is a file/stream. This consistency was one of their major goals for Plan 9.
In Unix, this was originally a goal, but because of unforseen advances in hardware technology at the time, certain parts of the system are just not treated as files/streams. There are enough exceptions. Perhaps a Unix guru can jump in to explain it in more detail - but these are one of the gotchas of Unix where things aren't as consistent as it looks on paper. - runaway, on 10/12/2007, -0/+1Great presentation, all the unix/linux system administrator must keep it for reference. Very usful for me.
- GMorgan, on 10/12/2007, -0/+1Never looked at Plan 9, had always intended to. Any idea what hardware support is like.
- djliquidice, on 10/12/2007, -0/+0LOL!! True!! People have the love/hate relationship with VI and Emacs. lol. :)c
- burke, on 10/12/2007, -1/+1I think emacs is actually better from an RSI standpoint if you swap the lctrl and capslock keys.
- GMorgan, on 10/12/2007, -1/+1and better still again with a command of make uninstall.
- rahulsv, on 10/12/2007, -0/+0Keep a copy of Kernighan and Pike on your bookshelf. BTW, good compilation of commands. I liked the examples.
- ryke, on 10/12/2007, -1/+1Not bad as a beginner's guide or reference, but as others have pointed out it is a bit bash-o-centric.
Would have been nice to include 'less' as well as 'more', as the functionality of 'less' kicks 'more's' ass. Also the section on permissions and chmod could have been explained a little more clearly for the intended audience (novices).
Discussion of 'locate' and 'updatedb' would have been nice in the "finding" section, as this is usually a much quicker, although less precise, way to find things on a *nix system.
Oh yeah, and he should have said to use vi. (Or vim if you are feeling a bit girly).
Well, after all, to look like a real Unix guru you have to engage in editor holy wars once in a while. - inactive, on 10/12/2007, -2/+1any idea if pushd and popd work on tcsh? I'm not in a good place to test right now
- reedreeder, on 10/12/2007, -4/+3who combs their hair?
- tehmoth, on 10/12/2007, -4/+3besides, pushd/popd are bashisms. not every unix shell is a bash shell, not every system is a linux system
- williamdyer, on 10/12/2007, -3/+1C'mon people, this is about attention to detail:
Birkenstocks, with socks your girlfriend knitted. N.b.: the girlfriend makes paintings inspired by D&D, and does NOT shave. - burke, on 10/12/2007, -3/+1sorry, should have been in reply to the thread above
- XVampireX, on 10/12/2007, -10/+7Sounds like RMS...
- i440, on 10/12/2007, -13/+0Richard Stallman needs your help
- i440, on 10/12/2007, -24/+1@gforb
I was supposed to make that post. Grrawr!
What is Digg?
Check out the new & improved