I've never been a power linux user, just bopping along and getting by. Once in a while my ignorance shows ...
Is there a web page out there that would list the top 20 or maybe top 50 linux commands for the bash shell? Or maybe the top things one might want to do? Maybe I could print that out and have it handy.
I have ls and ll down. I do cd and mkdir without a problem. I even use cp and mv a lot.
I forgot about "ps" today. I tried "echo $CLASSPATH" today and it came up blank, so I must have done it wrong. I could use a refresher on aliases cuz everybody here uses "ct" for the clearcase tools, but "which ct" didn't work. "whereis ct" did nothing also. So I'm suspecting an alias. I don't really need to know what ct really is, but I feel like it helps to have a somewhat better understanding.
I've used linux, solaris, aix, etc. many times over the years (remember sco and interactive unix?) but never really mastered any shell.
It just seems like there could be a one page thing that could answer 95% of my questions.
Not a web page, but I really like Linux Desk Reference. Particularly useful is the way they group commands by function - if the first command you look up doesn't do what you want, chances are good there's something one or two pages away which does.
Incidentally for your problem with a possible alias, you can just type "alias" with no args, and you should get a list of all aliases which have been set so far.
At work ct is an alias for cleartool, a shell like thing for clearcase (Rational ClearCase). Is that what they are using? Are you hearing words like vobs, views, branches, merges, checkin and checkout?
Table L-2 in this appendix to the Advanced Bash Scripting Guide has proved handy when bringing new people onto my projects. Actually the whole guide is very handy -- it shows you how to do an awful lot of useful stuff.
"which" should tell you that a command is an alias for something and tell you what for.
Originally posted by Paul Wheaton: I tried "echo $CLASSPATH" today and it came up blank, so I must have done it wrong.
I'm running linux 12 h / day, mostly for programming Java, and don't have any classpath set. I was surprised to see that it is needed to specify the current working directory on windows, but it's not needed on Linux.
You might like the apropos command. Gives you information on various related commands, by searching the whatis database. Sometimes you just can't recall the correct command (with its lack of vowels!). For example try: . Of course "apropos", is not that easy to remember ;-)
I also like the way that using bash (or sh), you can hit the tab key and the shell will try to auto complete a command or its argument.
--------------------- "Unix is the answer, but only if you phrase the question very carefully. Unix is user-friendly. It's just very selective about who its friends are. Unix: It's not just 'User-Unfriendly', it's 'Proactively User-Hostile' ! "