introduction(9) | introduction(9) |
the ®le being edited.
The quit character generates a quit signal that bypasses the input buffer and most program traps and causes a running program to terminate. It can cause a core dump in the current directory.
The stop character can be used to pause output to the terminal. It is commonly used on video terminals to suspend output to the display while you read what is already being displayed. You can then resume output by typing the start character. When stop and start are used to suspend or resume output, they bypass the keyboard
The eof, erase, and kill characters can be used as normal text characters if you escape them with a preceding \, as in \ÃD. Therefore, to erase a \, you need two erases.
The intr, quit, start, and stop characters cannot be escaped on the input line.
Besides adapting to the speed of the terminal,
Tab characters are used freely in
How to Run a Program
When you have successfully logged into
The command name is the ®rst word on an input line to the shell; the command and its arguments are separated from one another by blanks (one or more space and/or tab characters).
When a program terminates, the shell ordinarily regains control and prompts you to indicate that it is ready for another command. The shell has many other capabilities, which are described in detail in the appropriate manpages:
The Current Directory
Path Names
To refer to ®les not in the current directory, you must use a path name. Full (absolute) path names begin with /, which is the name of the root directory of the whole ®le system. After the slash comes the name of each directory containing the next subdirectory (followed by a /), until ®nally the ®le name is reached (for example, /usr/ae/filex refers to ®le filex in directory ae, while ae is itself a subdirectory of usr; usr is a subdirectory of the root directory). See glossary(9) for a formal de®nition of path name.
If your current directory contains subdirectories, the path names of ®les in them begin with the name of the corresponding subdirectory (without a pre®xed /). Generally, a path name can be used anywhere a ®le name is required.
Important commands that modify the contents of directories are cp, mv, and rm which respectively copy, move (that is, rename, relocate, or both), and remove ®les. To determine the status of ®les or the contents
− 5 − | Introduction−5 |