You are previewing A Practical Guide to Red Hat® Linux® 8.
O'Reilly logo
A Practical Guide to Red Hat® Linux® 8

Book Description

A Practical Guide to Red Hat® Linux® 8 provides everyone--new users to experienced programmers--with the knowledge and skills they need to master Linux. Written by best-selling author Mark Sobell, this book is a clear, thorough, and logically organized tutorial and reference.

Part I is a comprehensive tutorial that introduces the basics of GNU/Linux. It explains how to use the basic utilities, the filesystem, and many features of the shell command interpreter. Illustrations and step-by-step examples demonstrate how each command works. Part II covers more advanced topics, such as graphical user interfaces (GUIs), networking, text editors, programming tools, system administration, the new features of Red Hat Linux version 8, and the three major shells, including shell scripts. Part III is a detailed reference to more than 85 GNU/Linux utilities.

This authoritative guide includes:

  • Instructions for users and administrators covering security and RH features, including Red Hat Network (RHN), Red Hat system administration tools, and Red Hat Package Manager (RPM).

  • A full chapter on the use and customization of the Red Hat default GNOME 2 desktop manager and the new Metacity window manager

  • A full chapter on how to use and customize the KDE 3 desktop environment

  • Lucid descriptions of utilities illustrated by many

  • practical examples

  • Detailed coverage of the Linux programming environment and tools, including the C compiler, make, and source code management

  • In-depth discussion of networking and the Internet, including types of networks, secure network utilities, and distributed computing

  • An emphasis on security issues throughout, including highlighted warnings and a dedicated appendix

  • Extensive information and full-length examples about using shells interactively and as programming tools, with chapters on the Bourne Again Shell (bash), the TC Shell (tcsh), and the Z Shell (zsh)

  • Appendixes covering regular expressions, online resources, security, and POSIX standards

  • A comprehensive glossary of more than five hundred words and phrases

  • Helpful features such as tips, cautions, and security alerts supplement the lessons of the text. The companion Web site (http://www.sobell.com) provides useful links, downloadable examples and illustrations, answers to selected review exercises, additional exercises and programs, and updates to the book.

    The accompanying CD-ROMs contain Red Hat Linux version 8.0.



    0201703130B11262002

    Table of Contents

    1. Copyright
    2. Praise for Mark Sobell's Previous Books
    3. Preface
    4. GNU/Linux Basics
      1. GNU/Linux: A Product of the Internet
        1. The GNU/Linux Connection
        2. The Heritage of GNU/Linux: UNIX
        3. What Is So Good about GNU/Linux?
        4. Overview of GNU/Linux
        5. Additional Features of GNU/Linux
        6. Chapter Summary
        7. Exercises
      2. Getting Started
        1. Before You Start
        2. Red Hat Linux
        3. passwd: Changes Your Password
        4. Documentation
        5. Tutorial: Using pico to Create/Edit a File
        6. Basic Utilities
        7. Special Characters
        8. Chapter Summary
        9. Exercises
        10. Advanced Exercises
      3. Introduction to the GNU/Linux Utilities
        1. Working with Files
        2. | (Pipe): Communicates between Processes
        3. Four More Utilities
        4. Compressing and Archiving a File
        5. Locating Commands
        6. Obtaining User and System Information
        7. Communicating with Other Users
        8. E-Mail
        9. Chapter Summary
        10. Exercises
        11. Advanced Exercises
      4. The GNU/Linux Filesystem
        1. The Hierarchical Filesystem
        2. Directory and Ordinary Files
        3. Working with Directories
        4. Access Permissions
        5. Links
        6. Chapter Summary
        7. Exercises
        8. Advanced Exercises
      5. The Shell I
        1. The Command Line
        2. Standard Input and Standard Output
        3. Redirection
        4. Pipes
        5. Running a Program in the Background
        6. Filename Generation/Pathname Expansion
        7. Builtins
        8. Chapter Summary
        9. Exercises
        10. Advanced Exercises
    5. Intermediate/Advanced GNU/Linux
      1. X Window System and Graphical User Interface
        1. X and GUI: Desktop, Window, and Mouse
        2. X Window System
        3. X Application
        4. Chapter Summary
        5. Exercises
        6. Advanced Exercises
      2. GNOME Desktop Manager
        1. Choosing Your Window Manager
        2. Getting Started
        3. Nautilus: File Manager
        4. GNOME Utilities
        5. Customizing GNOME
        6. The Sawfish Window Manager
        7. Chapter Summary
        8. Exercises
        9. Advanced Exercises
      3. KDE Desktop Environment
        1. Getting Started
        2. KDE Utilities
        3. Konqueror Browser/File Manager
        4. Menus
        5. Customizing KDE
        6. Chapter Summary
        7. Exercises
        8. Advanced Exercises
      4. Networking and the Internet
        1. Types of Networks and How They Work
        2. Communicate over a Network
        3. Network Utilities
        4. Distributed Computing
        5. Usenet
        6. Tutorial: Using pine as a Newsreader
        7. Netnews with Mozilla
        8. WWW: World Wide Web
        9. Chapter Summary
        10. Exercises
        11. Advanced Exercises
      5. The vim Editor
        1. History
        2. Tutorial: Creating and Editing a File with vim
        3. Introduction to vim Features
        4. Command Mode: Moving the Cursor
        5. Input Mode
        6. Command Mode: Deleting and Changing Text
        7. Searching and Substituting
        8. Miscellaneous Commands
        9. Yank, Put, and Delete Commands
        10. Reading and Writing Files
        11. Setting Parameters
        12. Advanced Editing Techniques
        13. Units of Measure
        14. Chapter Summary
        15. Exercises
        16. Advanced Exercises
      6. The emacs Editor
        1. History
        2. Tutorial: Getting Started with emacs
        3. Basic Editing Commands
        4. Online Help
        5. Advanced Editing Topics
        6. Language-Sensitive Editing
        7. emacs and the X Window System
        8. Resources for emacs
        9. Chapter Summary
        10. Exercises
        11. Advanced Exercises
      7. The Shell II: The Bourne Again Shell
        1. Background
        2. Shell Basics
        3. Separating and Grouping Commands
        4. Redirecting Standard Error
        5. noclobber: Avoids Overwriting Files
        6. Job Control
        7. Manipulating the Directory Stack
        8. Processes
        9. Parameters and Variables
        10. History
        11. Editing the Command Line
        12. Alias
        13. Command Line Expansion
        14. Chapter Summary
        15. Exercises
        16. Advanced Exercises
      8. Programming the Bourne Again Shell
        1. Control Structures
        2. Expanding Null or Unset Variables
        3. String Pattern Matching
        4. Filename Generation
        5. Builtins
        6. Functions
        7. Chapter Summary
        8. Exercises
        9. Advanced Exercises
      9. The TC Shell
        1. Shell Scripts
        2. Entering and Leaving the TC Shell
        3. Features Common to the Bourne Again and TC Shells
        4. Redirecting Standard Error
        5. Command Line Expansion
        6. Editing the Command Line
        7. Correcting Spelling
        8. Variables
        9. Control Structures
        10. Builtins
        11. Chapter Summary
        12. Exercises
        13. Advanced Exercises
      10. The Z Shell and Advanced Shell Programming
        1. The Z Shell, Korn Shell, and Pd-ksh
        2. Z Shell Basics
        3. Variables
        4. Builtins
        5. Command Line Editing
        6. Shell Programs
        7. Z Shell Options
        8. Chapter Summary
        9. Exercises
        10. Advanced Exercises
      11. Programming Tools
        1. Programming in C
        2. Using Shared Libraries
        3. make: Keeps a Set of Programs Current
        4. Debugging C Programs
        5. Threads
        6. System Calls
        7. Source Code Management
        8. Chapter Summary
        9. Exercises
        10. Advanced Exercises
      12. Red Hat Linux System Administration
        1. System Administrator and Superuser
        2. Installing Red Hat Linux (Overview)
        3. Installing and Removing Software
        4. Keeping Software Up-to-Date
        5. System Operation
        6. GUI System Administration Tools
        7. Configuring User and Group Accounts
        8. Backing Up Files
        9. Printing
        10. Configuring Network Services
        11. Rebuilding the Linux Kernel
        12. PAM
        13. Administration Utilities
        14. Administration Tasks
        15. Getting Help
        16. Chapter Summary
        17. Exercises
        18. Advanced Exercises
      13. The GNU/Linux Utility Programs
        1. Utilities That Display and Manipulate Files
        2. Network Utilities
        3. Communication Utilities
        4. Utilities That Display and Alter Status
        5. Utilities That Are Programming Tools
        6. Source Code Management (RCS, CVS) Utilities
        7. Miscellaneous Utilities
        8. sample
        9. aspell
        10. at
        11. cal
        12. cat
        13. cd
        14. chgrp
        15. chmod
        16. chown
        17. ci
        18. cmp
        19. co
        20. comm
        21. configure
        22. cp
        23. cpio
        24. crontab
        25. cut
        26. cvs
        27. date
        28. dd
        29. df
        30. diff
        31. du
        32. echo
        33. expr
        34. file
        35. find
        36. finger
        37. fmt
        38. fsck
        39. ftp
        40. gawk
        41. gcc
        42. grep
        43. gzip
        44. head
        45. kill
        46. less
        47. ln
        48. lpr
        49. ls
        50. mail
        51. make
        52. man
        53. mkdir
        54. Mtools
        55. mv
        56. nice
        57. nohup
        58. od
        59. paste
        60. patch
        61. pine
        62. pr
        63. ps
        64. rcp
        65. rcs
        66. rlog
        67. rlogin
        68. rm
        69. rmdir
        70. rsh
        71. scp
        72. sed
        73. ssh
        74. sleep
        75. sort
        76. stty
        77. tail
        78. tar
        79. tee
        80. telnet
        81. test
        82. top
        83. touch
        84. tr
        85. tty
        86. umask
        87. uniq
        88. w
        89. wc
        90. which
        91. who
        92. xargs
    6. Appendixes
      1. Regular Expressions
        1. Characters
        2. Delimiters
        3. Simple Strings
        4. Special Characters
        5. Rules
        6. Bracketing Expressions
        7. The Replacement String
        8. Extended Regular Expressions
        9. Appendix Summary
      2. Help
        1. Solving a Problem
        2. Finding GNU/Linux-Related Information
        3. Specifying Your Terminal
      3. Security
        1. Encryption
        2. File Security
        3. E-mail Security
        4. Network Security
        5. Host Security
        6. Security Resources
        7. Appendix Summary
      4. The POSIX Standards
        1. Background
        2. POSIX.1
        3. POSIX.2
        4. POSIX.3
        5. POSIX.4
        6. POSIX.5
        7. Profiles and POSIX Standards
        8. Appendix Summary
      5. The Free Software Definition
    7. Glossary
    8. Index