UNIX for Application Developers
ISBN: 0-07-031697-X; To Order: 800/352-3566
Table of Contents
- Introduction to the UNIX Operating System
- What Is an Operating System?
- Different Machines Use Different Operating Systems
- Origins of UNIX
- Universities and UNIX
- Berkeley Software Distribution
- UNIX System V
- UNIX Has Many Different Names
- Open Software Foundation
- UNIX International
- Other Standardization Efforts
- Components of the UNIX Operating System
- Is It a Command or a Utility?
- Features of the UNIX Operating System
- Getting Started
- Logging in and Getting a Shell Started
- UNIX Command Interpretation
- General UNIX Command Syntax for the Shell
- Multiple Command Execution
- Long Command Lines
- Changing Your Prompt
- Who Else Is Logged On?
- What Time Is It? What Day Is It?
- Changing Your Password
- Logging Out by Telling the Shell You're Done
- User-to-User Communication
- Interactive User-to-User Communication
- write
- The Berkeley talk Command
- Keeping Someone from Writing to You
- mesg
- Noninteractive User-to-User Communication
- Sending Mail
- Receiving Mail
- The mailx Command
- Administrator-to-User Communication
- news
- wall
- Who Else is Logged on and Can I Write to Them?
- Editing: Creating and Changing Text Files
- How an Editor Uses the Computer
- Filenames
- The AT&T Line Editor: ed
- The Restricted Editor: red
- The Berkeley Line Editor: ex
- The Novice Editor: edit
- The Berkeley Full Screen Editor: vi
- Creating a New File/Changing an Existing File
- Leaving vi
- Modes of Operation
- Cursor Movement
- Scrolling Through the File
- Inserting Text
- Deleting Text
- Undoing Changes
- Replacing Text and Substituting Text
- Deleting or Changing Words
- Copying and Moving Text
- Miscellaneous ex Commands
- A 'Read-Only' Version of vi: view
- A Non-Modal UNIX Editor: emacs
- Useful Utilities
- Different UNIX Systems -- Different UNIX Commands
- Listing Filenames
- Checking for Spelling Errors in a Text File
- Displaying a Year-Long Calendar
- Reminding Yourself of Important Dates
- Displaying Large Block Letters
- What Time Is It? What Day Is It? -- Again
- A Basic Calculator
- Automatically Executing Commands When You Log in
- Getting Help
- Directories and Files
- The UNIX File System
- Standard Directories
- Your Home Directory/Current Working Directory
- Print Working Directory Name
- Pathnames
- Changing Your Current Working Directory
- Listing Filenames -- Again
- Making New Directories
- Removing Old Directories
- Determining What is in a File
- Displaying the Contents of a File
- Displaying the Contents of a File -- One Page at a Time
- Displaying the Tail End of a File
- Displaying the Beginning of a File
- Copying One File to Another
- Moving or Renaming One File into Another
- Aliasing or Giving a Second Name to a File
- How cp, mv, and ln Are Alike and How They Are Different
- Removing Files
- Using Pathnames
- Access Permission
- Users and Groups
- Who Are You and What Group Are You in?
- Listing Filenames -- Again
- Access Permissions
- Changing File Modes or Access Permission
- Other File Modes
- Setting Default File and Directory Creation Permissions
- Changing the Owner of a File
- Changing the Group of a File
- Temporarily Changing Your User Id
- Temporarily Changing Your Group Id
- Using the Shell
- Command Interpreter Concepts
- Command Interpretation and Execution
- How Does the Shell Find the Commands?
- Filename Expansion Metacharacters
- Input-Output Redirection Metacharacters
- Pipes and Filters
- Being a Responsible UNIX User
- Manipulating Text Files
- Counting Lines, Words, and Characters in a File
- Translating Characters from One Set to Another
- Cutting a File Up into Pieces
- Pasting Files Back Together
- Joining Files Together Based on Common Fields
- Adding Line Numbers to a File
- Preparing a File for Printing
- Dumping a File -- Octal, Decimal, Hexadecimal
- Splitting Large Files into a Number of Smaller Files
- Updating the Last Modification Time of a File
- Sorting Text Files
- Sorting a Text File
- Noninteractive Text Editing
- Editing a File with sed
- Regular Expressions Using grep and awk
- Searching through Files
- Regular Expressions
- grep
- grep Options
- awk
- Bourne/Korn Shell Programming
- Shell Programming
- Shell Scripts
- echo Command
- Shell Variables
- Script Input
- Shell Loops
- test Command
- Clearing the Screen
- if Command
- case Command
- sleep Command
- Filling Out the Script
- C Shell Programming
- Shell Programming
- Shell Scripts
- echo Command
- Shell Variables
- Script Input
- Shell Loops
- Expressions
- Clearing the Screen
- if Command
- switch Command
- sleep Command
- Filling Out the Script
- Working with a Printer
- Sending a File to the Printer.
- Determining the Status of a Print Job
- Canceling a Print Job
- The find Command
- Finding Files
- Where to Start Looking for a File
- What to Do When a File is Found
- Finding Files by Name or by Type
- Combining and Negating Conditions -- And/Or/Not
- Finding Files by Owner, Group, or Permissions
- Using Last Access, Modification, or Status Change Time
- Finding Files by Size
- Executing UNIX Commands to Process Found Files
- Advanced Editing with vi
- Syntax for the vi Command
- Crash Recovery
- Cursor Movement Revisited
- Indenting and Shifting Lines of Text
- Deleting, Changing, and Yanking Revisited
- Repeating the Last Change
- Joining Lines
- Displaying the Current Line Number
- Named Buffers
- Markers
- Global Search and Replace
- Inserting and Appending Revisited
- Editing Multiple Files
- Filtering Text through UNIX Commands
- Customizing the Operation of the Editor
- Controlling the Execution of UNIX Commands
- The Shell and Background Processing
- Waiting for Background Processes
- Watching the Status of an Executing Command
- Terminating a Command
- Running a Command at a Lower Priority
- Running a Command Immune from Logouts
- Executing Commands at a Later Date and Time
- Running Commands Once When the System Is Slow
- Running Commands Once at a Specific Time
- Running Commands Repetitively at Specific Times
- Archiving Utilities (Optional)
- Archive Concepts
- The Tape Archiving Utility: tar
- Copying Files in from and Out to an Archive: cpio
- The Object Code Archiving Utility: ar
- Source Code Control System (Optional)
- Terminology of SCCS
- Creating and Administering the SCCS Archive
- Retrieving a Delta from an SCCS Archive
- Getting a File with the Intent to Submit a Delta
- Changing Your Mind with the unget Command
- Submitting a New Version of an SCCS File with delta
- Other SCCS Files
- Id Keywords
- Other SCCS Commands
- Text Processing with nroff (Optional)
- Word Processing under UNIX
- What Is Text Processing?
- Using nroff to Format Documents
- Filling and Adjusting
- Page Layout Commands
- Indenting and Paragraph Styling
- Controlling Page Spacing
- Controlling the Filling and Adjusting of Text
- Special Formatting Commands
- Titles
- Macros
- Macro Packages
- Uses for nroff
- Programming in the UNIX Environment (Optional)
- Programming Facilities
- Programming Philosophy
- Sample C Program
- C Programming Environment
An errata sheet is available for this book.
![[Pic of original seven wonders]](GRAPHICS/wapSevenWondersNew.gif)



![[Logos for technologies used to build this site]](GRAPHICS/AppleJavaLinux.jpg)