quote:
Originally posted by Almy:
Gotta ask...tried to wait!
As a linux idiot, I know nothing at all. But this question gets close to some thing I'm looking for info on. Any suggestions on a good place to learn the basics of linux? By that I mean the file work in shells. I did a little lpc coding a few years back, but purely for fun.
Anything I did had plenty of help within...I haven't been so fortunate with linux as yet. Basically I would like to find some good literature on-line or off-line that I can dig into. Keep in mind...I barely no what 'cd ..' does!
Almy
I tell you what I believe is the best way to learn Linux commands and how to script them is to learn shell programming (very easy to learn and very powerful). Shell programming tutorials will be of GREAT help if you want to learn the Linux/UNIX command line. You can do anything on the command line that can be done on a shell script. A shell script just allows you to tie builtin shell commands and external system commands into a script that can be easily automated. Shell scripts are much like *.BAT (COMMAND.COM shell script) and *.CMD (CMD.EXE shell scripts) files in DOS/CMD if you are familiar with MS. The difference being shell scripts are 4096 times more powerful then MS scripts and easier because of it.
The "bash" shell (Bourne Again Shell) is the most prominent in Linux, however I also like "ksh" (Korn Shell). Korn Shell has an advantage of built in math which makes looping and counting easier in your script. You can install the PD-KSH (Public Domain Korn Shell) which usually comes with most Linux distros but may not be installed by default. "ksh" is the "default" shell on a lot of commercial UNIX systems (the commercial version of ksh).
There are a lot of good tutorial sites on line. I would suggest going to
www.google.com and searching for "bash shell programming tutorial".
I just did a quick search and found a page that looks like it has all the basics. I have not read through any of it for quality but most of the stuff you should learn is on the index on this page:
http://www.freeos.com/guides/lsst/index.htmAnd here looks like a really good link:
http://www.1001tutorials.com/bash/index.shtmlAnd this one:
http://www.linuxgazette.com/issue52/okopnik2.htmlAnd here's the O'Reilly book on "bash":
http://www.oreilly.com/catalog/bash2/reviews.html99% of the time you can't go wrong with O'Reilly books for *NIX. They are by far the best.
[ February 27, 2002: Message edited by: VoidMain ]