[A picture of Bill's UNIX book cover]

UNIX for Application Developers

ISBN: 0-07-031697-X; To Order: 800/352-3566

Table of Contents

  1. 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
  2. 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
  3. 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?
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. Sorting Text Files
    • Sorting a Text File
  11. Noninteractive Text Editing
    • Editing a File with sed
  12. Regular Expressions Using grep and awk
    • Searching through Files
    • Regular Expressions
    • grep
    • grep Options
    • awk
  13. 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
  14. 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
  15. Working with a Printer
    • Sending a File to the Printer.
    • Determining the Status of a Print Job
    • Canceling a Print Job
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. Programming in the UNIX Environment (Optional)
    • Programming Facilities
    • Programming Philosophy
    • Sample C Program
    • C Programming Environment

An errata sheet is available for this book.


Internet Advertising home equity line of credit