Ray Olszewski wrote:
> 
<snip>
> 
> Linux systems usually symlink sh to bash, so try "man bash" for a (very long
> - hard to read on-screen) description of the available shell commands.
> 
<snip>

_very_ hard to read on the screen. But this is one of the man pages
_everyone_ should have read after using Linux for some time. And then
again after getting used to the basics. It will make your eyes go wet
when you read about it's features, esp. for - loops are very handy on
the command line. May I bring a short example? Thanks.
Sometimes you get those files with uppercase extensions, ie.
'myfile.TEX'. If you have many of them you can do
mv file1.BIG file1.big
...
mv file200.BIG file200.big
and spent your whole free time with that, or you can just say
for i in *.BIG; do
mv $i ${i%BIG}big
done; echo ':-)'

Something I also like to use sometimes (when I just installed linux or a
few new .dvi files) is the following:
for i in $(locate '*.dvi'); do
dvips -f <$i > /dev/null
done; echo $'\a'

and wait for the beep. TeX users will know what it does... :-)

Other recommended reading include:
- man find
- man grep
- man sed or man awk
- man test (included in man bash as [] command)

Marc

-- 
Marc Mutz <[EMAIL PROTECTED]>                    http://marc.mutz.com/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

Reply via email to