| |
| |
Preface | |
| |
| |
| |
UNIX for Beginners | |
| |
| |
| |
Getting started | |
| |
| |
| |
Day-to-day use: files and common commands | |
| |
| |
| |
More about files: directories | |
| |
| |
| |
The shell | |
| |
| |
| |
The rest of the UNIX system | |
| |
| |
| |
The File System | |
| |
| |
| |
The basics of files | |
| |
| |
| |
What's in a file? | |
| |
| |
| |
Directories and filenames | |
| |
| |
| |
Permissions | |
| |
| |
| |
Inodes | |
| |
| |
| |
The directory hierarchy | |
| |
| |
| |
Devices | |
| |
| |
| |
Using the Shell | |
| |
| |
| |
Command line structure | |
| |
| |
| |
Metacharacters | |
| |
| |
| |
Creating new commands | |
| |
| |
| |
Command arguments and parameters | |
| |
| |
| |
Program output as arguments | |
| |
| |
| |
Shell variables | |
| |
| |
| |
More on I/O redirection | |
| |
| |
| |
Looping in shell programs | |
| |
| |
| |
bundle: putting it all together | |
| |
| |
| |
Why a programmable shell? | |
| |
| |
| |
Filters | |
| |
| |
| |
The grep family | |
| |
| |
| |
Other filters | |
| |
| |
| |
The stream editor sed | |
| |
| |
| |
The awk pattern scanning and processing language | |
| |
| |
| |
Good files and good filters | |
| |
| |
| |
Shell Programming | |
| |
| |
| |
Customizing the cal command | |
| |
| |
| |
Which command is which? | |
| |
| |
| |
While and until loops: watching for things | |
| |
| |
| |
Traps: catching interrupts | |
| |
| |
| |
Replacing a file: overwrite | |
| |
| |
| |
Zap: killing proceses by name | |
| |
| |
| |
The pick command: blanks vs. arguments | |
| |
| |
| |
The news command: community service messages | |
| |
| |
| |
Get and put: tracking file changes | |
| |
| |
| |
A look back | |
| |
| |
| |
Programming with Standard I/O | |
| |
| |
| |
Standard input and output: vis | |
| |
| |
| |
Program arguments: vis version 2 | |
| |
| |
| |
File access: vis version 3 | |
| |
| |
| |
A screen-at-a-time printer: p | |
| |
| |
| |
An example: pick | |
| |
| |
| |
On bugs and debugging | |
| |
| |
| |
An example: zap | |
| |
| |
| |
An interactive file comparison program: idiff | |
| |
| |
| |
Accessing the environment | |
| |
| |
| |
UNIX System Calls | |
| |
| |
| |
Low-level I/O | |
| |
| |
| |
File system: directories | |
| |
| |
| |
File system: inodes | |
| |
| |
| |
Processes | |
| |
| |
| |
Signals and interrupts | |
| |
| |
| |
Program Development | |
| |
| |
| |
Stage 1: A four-function calculator | |
| |
| |
| |
Stage 2: Variables and error recovery | |
| |
| |
| |
Stage 3: Arbitrary variable names; built-in functions | |
| |
| |
| |
Stage 4: Compilation into a machine | |
| |
| |
| |
Stage 5: Control flow and relational operators | |
| |
| |
| |
Stage 6: Functions and procedures; input/output | |
| |
| |
| |
Performance evaluation | |
| |
| |
| |
A look back | |
| |
| |
| |
Document Preparation | |
| |
| |
| |
The ms macro package | |
| |
| |
| |
The troff level | |
| |
| |
| |
The tbl and eqn preprocessors | |
| |
| |
| |
The manual page | |
| |
| |
| |
Other document preparation tools | |
| |
| |
| |
Epilog | |
| |
| |
| |
Editor Summary | |
| |
| |
| |
hoc Manual | |
| |
| |
| |
hoc Listing | |
| |
| |
Index | |