11: Clustered Workstations | 10: Getting Help |
10.A:
Using man
|
Contents |
We admit it. Sometimes Unix command are a bit succint. Or with ones like grep and cat, not totally descriptive. Unix compenstes for this by letting you search through the keywords contained in the man pages describing the comands; you need only provide a one word description of the command's action.
For example, sometimes you might want to compare two files to see if they are different, without going through them line by line. So you ask about compare:
>man -k compare
cmp(1) | - Compares two files |
diff(1) | - Compares text files |
diff3(1) | - Compares three files |
dircmp(1) | - Compares two directories |
sccsdiff(1) | - Compares two versions of SCCS file |
sdiff(1) | - Compares two files, display side-by-side differences |
zcmp, zdiff (1) | - Compares compressed files |
> man cmp
>man -k rmd
rmdel(1) | - Removes a delta from a SCCS file. |
rmdev(1) | - Removes a device from the system. |
rmdir(1) | - Removes a directory. |
rmdsmitd(1) | - Removes domains in Distributed System |
If you are curious about the commands in Unix, you can consult one of the following references: