The UNIX™ System V Environment

Stephen R. Bourne

Publisher: Addison-Wesley, 1987, 378 pages

ISBN: 0-201-18484-2

Keywords: Operating Systems

Last modified: April 21, 2021, 3:01 p.m.

The highly acclaimed UNIX system, in it's latest version, System V, includes both an operating system and a comprehensive set of programming support tools. Its simple and elegant design has made it an attractive programming environment.

The UNIX System V Environment provides an excellent, practical introduction, illustrated with many examples, covering key concepts and applications. It will appeal to novice and expert users of UNIX, offering a mine of information and a unique insight into techniques to using UNIX toolkits, together with a definitive reference to the new standard, System V. All the major elements of UNIX System V are covered, including:

  • file management
  • process management
  • system calls
  • the editors ed and vi
  • C programming language
  • Shell programming language
  • document preparation facilities
  • data management tools

Comprehensive appendices provide a valuable summary and reference to the commands and systems calls of UNIX System V.

  1. Introduction
    1. History
    2. The programming environment
    3. UNIX system concepts
      1. The file system
      2. Processes
      3. The shell
  2. Getting Started
    1. Logging in
    2. Commands
    3. Terminal characteristics
    4. Documentation
    5. The file system
      1. Simple file manipulations
      2. manipulating directories
    6. The shell
      1. Pipes and filters
      2. File name generation
      3. Quoting
      4. Prompts
      5. The shell and login
      6. Review
    7. Useful commands
      1. Communication
      2. System inquiries
      3. Process management
      4. Other Commands
      5. Review
  3. Editing Files
    1. The Editor ed
      1. Creating files
      2. Line editing
      3. Context searching
      4. Context editing
      5. Pattern matching
      6. Global editing
      7. Miscellaneous
    2. The editor vi
      1. Window control
      2. Cursor control
      3. Additions and deletions
      4. Line editing
      5. Moving material
      6. Review
      7. More advanced features
  4. The Shell
    1. Shell procedures
      1. Control flow — for
      2. Control flow — case
      3. Here documents
      4. Shell variables
      5. The test command
      6. Control flow — while and until
      7. Control flow — if
      8. Command grouping
      9. Debugging shell procedures
      10. The man command
    2. Advanced use
      1. Parameter transmission
      2. Parameter substitution
      3. Command substitution
      4. Evaluation and quoting
      5. Error handling
      6. Fault handling
      7. Command execution
      8. Input-output redirection
      9. Invoking the shell
    3. Built-in commands
  5. The C Programming Language
    1. Sample C program
      1. A simple program
      2. An octal dump
      3. Average distances
    2. The language
      1. Lexical considerations
      2. Expressions and operators
      3. Control flow
      4. Functions
      5. Arrays and pointers
      6. Structures and unions
      7. The C preprocessor
      8. Language structure
      9. The standard C library
      10. Postscript
    3. Program organization and management
      1. Compiling programs
      2. The make command
      3. The lint command
      4. Program libraries
      5. Performance measurement
      6. Miscellaneous tools
    4. Debugging a C program
      1. Debugging a core image
      2. adb requests
      3. adb formats
      4. Setting breakpoints in adb
      5. Address mapping
  6. UNIX System Programming
    1. Argument conventions
      1. Argument handling in C programs
    2. Basic input-output
      1. The open system call
      2. Reading and writing files
    3. The file system revisited
      1. File permissions
      2. Changing file modes
      3. Directory access
      4. Groups
    4. Advanced input-output
      1. Creating and removing files
      2. Random access input-output
      3. Status of files
      4. Terminal input-output
      5. Pipes
    5. Processes
      1. Process execution
      2. The fork system call
      3. The wait system call
      4. The exec system call
      5. The exit System call
      6. The environment of a process
    6. Signals and interrupts
      1. Signals
      2. Sending signals
      3. Catching signals
      4. Background processes
  7. Document Preparation
    1. nroff and troff
      1. Guidelines for preparing documents
      2. Simple requests
      3. Advanced requests
      4. A macro library
    2. Production tools
    3. Document processing tools
      1. The col command
      2. The eqn command
      3. ptx — permuted index generation
      4. The spell command
      5. The style command
      6. The tbl command
  8. Data Manipulation Tools
    1. Brief description of tools
      1. awk — report generator
      2. cmp — compare two files
      3. comm — select common lines
      4. diff — file differences
      5. grep — pattern selection
      6. join — combine files
      7. sed — stream editor
      8. sort — sort or merge files
      9. tail — last lines of a file
      10. tr — translate characters
      11. uniq — remove duplicate lines
      12. field — select columns
      13. lex and yacc
    2. Simple examples
      1. Maintaining a simple data base
      2. A C Language cross-reference program
    3. A tennis ladder system
      1. Organization
      2. Entering results
      3. Weekly activities
      4. The ladder update
      5. Weekly ladder printing
      6. The start and end of season
    4. Implementing the field command
  • Appendix 1: Commands
  • Appendix 2: System Calls
  • Appendix 3: Subroutines
  • Appendix 4: adb Requests
  • Appendix 5: ed Requests
  • Appendix 6: sh Requests
  • Appendix 7: troff Requests
  • Appendix 8: vi Requests
  • Appendix 9: A Macro Library
  • Appendix 10: The ACSII Character Set

Reviews

The UNIX™ System V Environment

Reviewed by Roland Buresund

OK ***** (5 out of 10)

Last modified: May 21, 2007, 3:18 a.m.

The classical book, updated for System V.

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

required