Next: pipes (and programs that
Up: An Introduction to Linux
Previous: Misc
- man, xman, info, apropos
- UNIX built-in help, use these to get information on almost any
Unix program.
- man ls; man man; man info; man xman;
- apropos "X windows": shows you commands with the word X Windows in
the title.
- file browsers are similar to such things on windows, they give you
a graphical view of your file hierarchy.
- konqueror (KDE)
- gmc (gnome)
- nautilus (gnome)
- /usr/dt/bin/dtfile (CDEvil)
- ls, mkdir, cp, cd, etc:
- more, less, cat: to view files, cat to concatinate files
- more /.bashrc
- less $MAIL
cat file1 file2>file3
- find stuff
- find
- find . -name *substring*
- locate: uses a database which it rebuilds periodically, so it
doesnt have to search the entire hard drive.
- whereis: will find binaries, source, and man pages for a command
- tar, gtar, zip: are used for compression
- gzip myfile; gunzip myfile
- tar -zcvf mydir.tgz mydir#zip, create, verbose, filename
- zip & unzip are similar
- secure stuff:
- ssh replaces telnet (also sets DISPLAY)
- stdsun script on CIS: helps manage ssh keys and use the stdsun
alias at the same time, since the IP address is always different
when using stdsun.
- scp: securely copy from one computer to another, uses ssh
scp ijones@monk.syntaxpolice.org:/home/ijones/tmp/myfile ./myfile
- script FIXME
- grep: search through a file w/ regular expressions. REs are too
complex to talk about here, but for simple text searching, grep is
also useful. It searches a file for a string.
grep bash .*
egrep b.sh .*
egrep b*sh
grep -r "love affair" /Mail
Next: pipes (and programs that
Up: An Introduction to Linux
Previous: Misc
Isaac Jones
2001-10-02