| |
| |
| |
Introduction | |
| |
| |
UNIX Background | |
| |
| |
The POSIX | |
| |
| |
2 Standard | |
| |
| |
How to Use This Book | |
| |
| |
Typographical Conventions | |
| |
| |
Syntactic Conventions | |
| |
| |
Getting Started | |
| |
| |
| |
Concepts | |
| |
| |
The UNIX Manual | |
| |
| |
System Administration and the Superuser | |
| |
| |
Users and Groups | |
| |
| |
What the Shell Does | |
| |
| |
The UNIX Kernel | |
| |
| |
Processes | |
| |
| |
The UNIX File System | |
| |
| |
File Permissions | |
| |
| |
Conventions for Using Files | |
| |
| |
Standard Files and Redirection | |
| |
| |
Other Facilities for Interprocess Communication | |
| |
| |
UNIX Commands | |
| |
| |
Local Variables | |
| |
| |
Initialization Files | |
| |
| |
Terminal Descriptions | |
| |
| |
Locales, Code Sets, and Internationalization | |
| |
| |
Regular Expressions | |
| |
| |
Devices | |
| |
| |
| |
Operations on Files | |
| |
| |
Operations on Directories | |
| |
| |
Listing Files with ls | |
| |
| |
Displaying and Concatenating Files with cat | |
| |
| |
Linking, Moving, and Copying Files with ln, mv, and cp | |
| |
| |
Removing Files | |
| |
| |
Examining Files or Output with a Pager | |
| |
| |
Printing Files | |
| |
| |
Finding Files with find | |
| |
| |
Locating, Classifying, and Checking Files | |
| |
| |
Comparing Files | |
| |
| |
Controlling File Access and Ownership | |
| |
| |
Miscellaneous File Utilities | |
| |
| |
Data Compression and Encoding | |
| |
| |
Archiving Sets of Files | |
| |
| |
Examining Files with od | |
| |
| |
Copying and Converting Data with dd | |
| |
| |
Updating Files with patch | |
| |
| |
Creating Special Files | |
| |
| |
| |
Data Manipulation Using Filters | |
| |
| |
Sorting Files with sort | |
| |
| |
Finding Patterns with grep | |
| |
| |
Simple Data Transformations | |
| |
| |
Extracting Parts of Files | |
| |
| |
Combining Files | |
| |
| |
Using sed to Edit from a Script | |
| |
| |
The awk Programming Language | |
| |
| |
Other Data Manipulation Languages | |
| |
| |
| |
Utility Programs | |
| |
| |
Information Services | |
| |
| |
Reporting on the Status of Processes | |
| |
| |
Managing Processes | |
| |
| |
Commands Related to Logging In | |
| |
| |
Controlling Your Terminal | |
| |
| |
On-Line Communication with Other Users | |
| |
| |
Disk Usage Statistics | |
| |
| |
Writing and Reading Strings | |
| |
| |
Evaluating Expressions | |
| |
| |
Special Invocation of Commands | |
| |
| |
Querying Your UNIX Environment | |
| |
| |
Miscellaneous Services | |
| |
| |
Producing Locale Information and Defining a Locale | |
| |
| |
Document Processing | |
| |
| |
Version Control | |
| |
| |
| |
The Korn and POSIX Shells | |
| |
| |
Overview of the KornShell | |
| |
| |
Interacting with the Shell | |
| |
| |
Editing an Input Line | |
| |
| |
Calling the Shell Directly | |
| |
| |
Shell Scripts | |
| |
| |
Syntax of Shell Input | |
| |
| |
Patterns | |
| |
| |
Simple Commands | |
| |
| |
Linking Commands with Operators | |
| |
| |
Redirection | |
| |
| |
Here-Documents | |
| |
| |
The test, true, and false Commands | |
| |
| |
Compound Commands | |
| |
| |
How Commands Are Executed | |
| |
| |
Parameters | |
| |
| |
Parameter Expansions | |
| |
| |
Quotation | |
| |
| |
Substitutions | |
| |
| |
Aliases | |
| |
| |
Commands for Job Control | |
| |
| |
The Command History and the fc Command | |
| |
| |
Intrinsic Commands and Predefined Aliases | |
| |
| |
Predefined Variables Used by the Shell | |
| |
| |
Execution Options | |
| |
| |
Initialization Files for the Shell | |
| |
| |
Parsing Command Lines with getopts | |
| |
| |
A Sample Shell Script | |
| |
| |
| |
Other Shells | |
| |
| |
The C Shell csh | |
| |
| |
Bash, the "Bourne-again Shell." | |
| |
| |
| |
Standard Editors | |