You are previewing Learning the UNIX Operating System, Fourth Edition.
O'Reilly logo
Learning the UNIX Operating System, Fourth Edition

Book Description

If you are new to UNIX, this concise introduction will tell you just what you need to get started and no more. Why wade through a 600-page book when you can begin working productively in a matter of minutes? It's an ideal primer for Mac and PC users of the Internet who need to know a little bit about UNIX on the systems they visit. This book is the most effective introduction to UNIX in print. The fourth edition covers the highlights of the Linux operating system. It's a handy book for someone just starting with UNIX or Linux, as well as someone who encounters a UNIX system on the Internet. And it now includes a quick-reference card. Topics covered include:

  • Linux operating system highlights

  • Logging in and logging out

  • Window systems (especially X/Motif)

  • Managing UNIX files and directories

  • Sending and receiving mail

  • Redirecting input/output

  • Pipes and filters

  • Background processing

  • Basic network commandsv

  • Table of Contents

    1. Learning the UNIX Operating System, 4th Edition
      1. Preface
        1. The UNIX Operating System
        2. Versions of UNIX
        3. What This Handbook Covers
        4. What’s New in the Fourth Edition
        5. Format
          1. Commands
          2. Examples
          3. Problem Checklist
          4. Exercises
          5. A Note to Our Readers
        6. Acknowledgments
      2. 1. Getting Started
        1. Working in the UNIX Environment
          1. Connecting to the UNIX Computer
            1. Connecting from another operating system
            2. Connecting with a data switch
            3. Connecting from a window system
          2. Logging In
            1. Problem checklist
          3. Remote Logins
          4. The UNIX Shell
          5. The Shell Prompt
          6. Entering a Command Line
            1. date
            2. who
          7. Correcting a Mistake
          8. Logging Out
            1. Problem checklist
        2. Syntax of UNIX Command Lines
          1. Exercise: Entering a few commands
        3. Types of Commands
        4. The Unresponsive Terminal
      3. 2. Using Window Systems
        1. Introduction to Windowing
        2. Starting X
          1. A. Ready to Run X (with xdm)
          2. B. Starting X from a Standard UNIX Session
            1. Problem checklist
          3. C. Starting the Window Manager
        3. Running Programs
          1. Setting Focus
          2. The xterm Window
          3. The Root Menu
            1. Exercise
            2. Problem checklist
        4. Working with a Mouse
          1. Pointer Shape
          2. Pointing, Clicking, and Dragging
          3. Using a Mouse with xterm Windows
        5. Working with Windows
          1. Using the Titlebar
          2. Moving Windows and Icons
          3. Resizing Windows
          4. The Window Menu
            1. Exercise
        6. Other X Clients
        7. Quitting
      4. 3. Your UNIX Account
        1. The UNIX Filesystem
          1. Your Home Directory
          2. Your Working Directory
          3. The Directory Tree
          4. Absolute Pathnames
          5. Relative Pathnames
            1. Exercise
            2. Relative pathnames up
          6. Changing Your Working Directory
            1. pwd
            2. cd
          7. Files in the Directory Tree
          8. Listing Files
            1. ls
            2. Exercise: Exploring the filesystem
        2. Looking Inside Files
          1. cat
          2. more
          3. pg
        3. Protecting and Sharing Files
          1. Directory Access Permissions
          2. File Access Permissions
          3. More Protection Under Linux
            1. Problem checklist
        4. Electronic Mail
          1. Sending Mail
          2. Reading Your Mail
            1. Exercise: Sending mail
        5. Changing Your Password
        6. Customizing Your Account
      5. 4. File Management
        1. Methods of Creating Files
        2. File and Directory Names
        3. File and Directory Wildcards
        4. Managing Your Files
          1. Creating Directories
            1. mkdir
          2. Copying Files
            1. cp
            2. Problem checklist
            3. rcp
            4. ftp
          3. Renaming and Moving Files
            1. mv
          4. Finding Files
          5. Removing Files and Directories
            1. rm
            2. rmdir
            3. Problem checklist
          6. Files on Other Operating Systems
        5. Printing Files
          1. pr
          2. lp and lpr
          3. Problem checklist
          4. Viewing the Printer Queue
            1. lpstat and lpq
            2. cancel and lprm
            3. Exercise: Manipulating files
      6. 5. Redirecting I/O
        1. Standard Input and Standard Output
          1. Putting Text in a File
            1. The > operator
            2. The >> operator
        2. Pipes and Filters
          1. grep
          2. sort
          3. pg and more
          4. Exercise: Redirecting input/output
      7. 6. Multitasking
        1. Running a Command in the Background
        2. Checking on a Process
          1. ps
        3. Cancelling a Process
          1. kill
          2. Problem checklist
      8. 7. Where to Go from Here
        1. Standard UNIX Documentation
        2. Shell Aliases and Functions
        3. Programming
      9. A. Reading List
        1. General UNIX Books
        2. Text Processing and Programming
        3. Shells
        4. The X Window System
      10. B. Reference
        1. Commands and Their Meanings
        2. Special Symbols
      11. Index
      12. Colophon