General Information
Tutorials
Reference Manuals
Libraries
Translation Tasks
Tools
Administration
|
Command Line ProcessingWhat is a command line interface?When a processor is invoked it will be from an interactive or batch shell of some kind. A command line will be used to specify the name of the processor and any inputs that it needs. A few typical Unix command lines are:
cc -o fred.exe fred.c vi fred.c rlogin prep.ai.mit.edu -l rms Note that a pipe command such as:
format doc.troff | lpr -Plaserconsists of two command lines because two programs are invoked.
In these examples various options are given to some of the tools via the
command line. For example,
Other information can be provided on the command line in the form of
positional parameters.
For example,
Unix provides access to the components of the command line for C
programs via the
|