Common Options


Most GNU utilities share the options listed in Table VI-2. The utilities that use these options are marked as such. Almost all POSIX utilities support the and options.

Table VI-2. Common command line options

Option

Effect

A single hyphen appearing in place of a filename indicates that the utility will accept standard input in place of the file.

A double hyphen marks the end of the options on a command line. You can follow this option with an argument that begins with a hyphen. Without this option the utility assumes that an argument that begins with a hyphen is an option.

help

Displays a help message for the utility.

version

Displays version information for the utility.





A Practical Guide to UNIX[r] for Mac OS[r] X Users
A Practical Guide to UNIX for Mac OS X Users
ISBN: 0131863339
EAN: 2147483647
Year: 2005
Pages: 234

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net