| | Copyright |
| | FOREWORD |
| | PREFACE |
| | | Part 1: Fundamentals of the UNIX System |
| | | Part 2: HP-UX System Administration |
| | | Part 3: HP-UX Network Administration |
| | | How to Register for the HP-UX Certification Examination |
| | | Strategies for Taking the Test |
|
| | ACKNOWLEDGMENTS |
| | Part I: Fundamentals of the UNIX System |
| | | Chapter 1. Getting Started with UNIX |
| | | Section 1.1. UNIX Shells |
| | | Section 1.2. Logging In and Out of HP-UX |
| | | Section 1.3. Home Directory |
| | | Section 1.4. Using HP-UX Commands |
| | | Section 1.5. Shell Startup Files |
| | | Section 1.6. Some Simple HP-UX Commands |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 2. Working with Files and Directories |
| | | Section 2.1. Basic Operations on Files |
| | | Section 2.2. File Naming Rules |
| | | Section 2.3. Working with Directories |
| | | Section 2.4. Copying and Moving Files |
| | | Section 2.5. Wildcards |
| | | Section 2.6. File Types |
| | | Section 2.7. Searching File Contents |
| | | Section 2.8. Finding Files |
| | | Section 2.9. Miscellaneous File Handling Commands |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 3. Environment Variables |
| | | Section 3.1. Environment and Shell Variables |
| | | Section 3 2. Setting and Displaying Variables |
| | | Section 3.3. Predefined Environment Variables |
| | | Section 3.4. Exporting Shell Variables |
| | | Section 3.5. Setting the Command Prompt |
| | | Section 3.6. The PATH Variable |
| | | Chapter Summary |
| | | Chapter review questions |
| | | Test Your Knowledge |
|
| | | Chapter 4. Input/Output Redirection and Pipes |
| | | Section 4.1. Redirecting Standard Output |
| | | Section 4.2. Redirecting Standard Input |
| | | Section 4.3. Redirecting Standard Error |
| | | Section 4.4. Redirecting Standard Input, Output, and Error Simultaneously |
| | | Section 4.5. Pipes and How They Are Used |
| | | Section 4.6. The T-Junction |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 5. Using the vi Editor |
| | | Section 5.1. Modes Used in vi |
| | | Section 5.2. Starting and Stopping vi |
| | | Section 5.3. Cursor Movement |
| | | Section 5.4. Inserting and Deleting Text |
| | | Section 5.5. Replacing Text |
| | | Section 5 6. Undo and Redo |
| | | Section 5.7. Scrolling Text |
| | | Section 5.8. Search and Replace |
| | | Section 5.9. Cut, Copy, and Paste |
| | | Section 5.10. Importing and Exporting Text |
| | | Section 5.11. Configuring vi Options |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 6. Regular Expressions |
| | | Section 6.1. How a Command Is Executed |
| | | Section 6.2. Position Specifiers |
| | | Section 6.3. Meta Characters |
| | | Section 6.4. Standard and Extended Regular Expressions |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 7. File Permissions |
| | | Section 7.1. Who Are UNIX Users |
| | | Section 7.2. Types of File Permissions |
| | | Section 7.3. Modifying File Permissions |
| | | Section 7.4. Default File Permissions |
| | | Section 7.5. Changing the Owner and Group of a File |
| | | Section 7.6. Special File Permissions |
| | | Section 7.7. Finding Files Having a Particular Set of File Permissions |
| | | Section 7.8. Access Control Lists |
| | | Section 7.9. Miscellaneous Commands |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 8. UNIX File System Hierarchy |
| | | Section 8.1. Static and Dynamic Files |
| | | Section 8.2. The Root Directory ( / ) |
| | | Section 8.3. The Device Directory (/dev) |
| | | Section 8.4. The /etc Directory |
| | | Section 8.5. The Home Directory (/home) |
| | | Section 8.6. The System Binary Directory (/sbin) |
| | | Section 8.7. The /stand Directory |
| | | Section 8.8. The /net Directory |
| | | Section 8.9. The Application Directory (/opt) |
| | | Section 8.10. The Temporary File Directory (/tmp) |
| | | Section 8.11. The /usr Directory |
| | | Section 8.12. The Variable Files Directory (/var) |
| | | Section 8.13. The lost+found Directory |
| | | Section 8.14. Some Useful Commands Related to File System Hierarchy |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 9. Working with the POSIX Shell and Job Control |
| | | Section 9.1. POSIX Shell Capabilities |
| | | Section 9.2. File Name Completion |
| | | Section 9.3. History and Reentering Commands |
| | | Section 9.4. Command Line Editing |
| | | Section 9.5. Substitution |
| | | Section 9.6. Setting Terminal Parameters |
| | | Section 9.7. Job Control |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 10. Introduction to Shell Programming |
| | | Section 10.1. Anatomy of a Shell Program |
| | | Section 10.2. Using Variables |
| | | Section 10.3. Command Line Arguments |
| | | Section 10.4. Interactive Shell Programs |
| | | Section 10.5. Exit Codes |
| | | Section 10.6. The test Command |
| | | Section 10.7. Branching |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 11. Advanced Shell Programming |
| | | Section 11.1. Arithmetic and Logic Operations |
| | | Section 11.2. The while-do-done Loop |
| | | Section 11.3. The until-do-done Loop |
| | | Section 11.4. The for-do-done Loop |
| | | Section 11.5. Breaking a Loop |
| | | Section 11.6. Text Processing |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
|
| | Part II: HP-UX System Administration |
| | | Chapter 12. The System Administration Manager |
| | | Section 12.1. Why Use SAM? |
| | | Section 12.2. Starting and Stopping SAM |
| | | Section 12.3. A Sample SAM Session |
| | | Section 12.4. SAM Log Files |
| | | Section 12.5. Restricted Use of SAM by Non-Root Users |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 13. Installing HP-UX |
| | | Section 13.1. Introduction to HP Workstations and Servers |
| | | Section 13.2. Installing HP-UX |
| | | Section 13.3. Guided Installation |
| | | Section 13.4. Advanced Installation |
| | | Section 13.5. Initial System Configuration |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 14. System Startup and Shutdown |
| | | Section 14.1. Introduction to the Boot Process |
| | | Section 14.2. Processor Dependent Code |
| | | Section 14.3. Boot Area on the System Disk |
| | | Section 14.4. Initial System Loader |
| | | Section 14.5. Loading the HP-UX Kernel |
| | | Section 14.6. The init Process |
| | | Section 14.7. Runlevels |
| | | Section 14.8. Adding a Program to Run at Boot Time |
| | | Section 14.9. System Shutdown |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 15. Software and Patch Management |
| | | Section 15.1. Software Packaging Structure |
| | | Section 15.2. Listing Installed Software |
| | | Section 15.3. Installing New Software |
| | | Section 15.4. Removing Software |
| | | Section 15.5. Verifying Installed Software |
| | | Section 15.6. Managing Software Depots |
| | | Section 15.7. HP-UX Patches |
| | | Section 15.8. Installing and Removing Patches |
| | | Section 15.9. SD-UX Commands |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 16. Reconfiguring the HP-UX Kernel |
| | | Section 16.1. Why Reconfigure the Kernel? |
| | | Section 16.2. The Reconfiguration Process |
| | | Section 16.3. Kernel Rebuilding in a Nutshell |
| | | Section 16.4. Booting from the Old Kernel |
| | | Section 16.5. Common Kernel Tunable Parameters |
| | | Section 16.6. Using SAM to Reconfigure the Kernel |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 17. Peripheral Devices |
| | | Section 17.1. Devices and Physical Paths |
| | | Section 17.2. Device Files |
| | | Section 17.3. SCSI Device File Naming Convention |
| | | Section 17.4. Listing Installed Devices |
| | | Section 17.5. Creating Device Files |
| | | Section 17.6. Installing a New Device |
| | | Section 17.7. Terminals and Modems |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 18. HP-UX File Systems and Logical Volume Manager |
| | | Section 18.1. Disk Devices and Their Configuration |
| | | Section 18.2. Introduction to Logical Volume Manager |
| | | Section 18.3. Listing and Creating Logical Volumes |
| | | Section 18.4. Introduction to File Systems |
| | | Section 18.5. The HighPerformance File System |
| | | Section 18.6. The Journaled File System |
| | | Section 18.7. Creating a New File System |
| | | Section 18.8. Mounting and Unmounting a File System |
| | | Section 18.9. Managing a File System |
| | | Section 18.10. File System Repair |
| | | Section 18.11. Important LVM Commands |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 19. User and Group Management |
| | | Section 19.1. Managing Users |
| | | Section 19.2. Managing Groups |
| | | Section 19.3. The Password File (/etc/passwd) |
| | | Section 19.4. The Group File (/etc/group) |
| | | Section 19.5. The Skeleton Directory (/etc/skel) |
| | | Section 19.6. Using SAM for User and Group Management |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 20. Dealing with HP-UX Processes |
| | | Section 20.1. Process Table |
| | | Section 20.2. Process States |
| | | Section 20.3. Listing Processes |
| | | Section 20.4. Sending Signals to Processes |
| | | Section 20.5. Process Nice Values |
| | | Section 20.6. Some Useful Commands |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 21. Printing on HP-UX |
| | | Section 21.1. Introduction to the Printing System |
| | | Section 21.2. Types of Printers |
| | | Section 21.3. Directory Hierarchy of the Printing System |
| | | Section 21.4. Adding a Printer |
| | | Section 21.5. Managing Print Queues |
| | | Section 21.6. Print Job Priorities |
| | | Section 21.7. Troubleshooting |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 22. Memory and Swap Space Management |
| | | Section 22.1. System Memory and Swap Space |
| | | Section 22.2. Types of Swap Space |
| | | Section 22.3. Creating Swap Space |
| | | Section 22.4. Monitoring Swap Space |
| | | Section 22.5. Swap Space Priorities and Performance |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 23. System Backup and Recovery |
| | | Section 23.1. Types of Backup |
| | | Section 23.2. Methods of Backup and Restore |
| | | Section 23.3. Using fbackup and frecover |
| | | Section 23.4. Using tar |
| | | Section 23.5. Using SAM to Back Up and Restore Data |
| | | Section 23.6. Using Ignite-UX |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 24. Automating Jobs |
| | | Section 24.1. Introduction to cron |
| | | Section 24.2. Automating Jobs Using the crontab Command |
| | | Section 24.3. Automating Jobs Using the at Command |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 25. System Performance Monitoring |
| | | Section 25.1. Tools Used for Performance Monitoring |
| | | Section 25.2. Using GlancePlus |
| | | Chapter Summary |
|
|
| | Part III: HP-UX Network Administration |
| | | Chapter 26. Basic Network Concepts |
| | | Section 26.1. Network Terminology |
| | | Section 26.2. The OSI Model |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 27. Network Components and Topologies |
| | | Section 27.1. Network Topologies |
| | | Section 27.2. Network Hardware Components |
| | | Section 27.3. MAC Addresses |
| | | Section 27.4. Access Methods |
| | | Section 27.5. Ethernet and IEEE 802.3 |
| | | Section 27.6. Token Ring and IEEE 802.5 |
| | | Section 27.7. FDDI |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 28. Introduction to the TCP/IP Protocol |
| | | Section 28.1. Introduction to TCP/IP |
| | | Section 28.2. Building an IP Network |
| | | Section 28.3. TCP and UDP Protocols |
| | | Section 28.4. Ports and Sockets |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 29. Configuring LAN Interface Adapters |
| | | Section 29.1. Configuring LAN Adapters |
| | | Section 29.2. Configuring an IP Address to a LAN Adapter |
| | | Section 29.3. Adding Routes |
| | | Section 29.4. Using SAM to Configure a LAN Adapter |
| | | Section 29.5. Troubleshooting LAN Connectivity |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 30. Configuring and Managing ARPA/Berkeley Services |
| | | Section 30.1. Introduction to Internet Services |
| | | Section 30.2. Starting Internet Services |
| | | Section 30.3. Using SAM to Manage Network Services |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 31. Host Name Resolution and Domain Name Server |
| | | Section 31.1. Host Name to IP Address Mapping |
| | | Section 31.2. Name Resolution Methods |
| | | Section 31.3. Introduction to the Domain Name System |
| | | Section 31.4. Configuring the Primary DNS |
| | | Section 31.5. Configuring the Secondary DNS |
| | | Section 31.6. Configuring the Caching DNS |
| | | Section 31.7. Configuring the DNS Client |
| | | Section 31.8. Using SAM to Configure DNS |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 32. Configuring and Managing NIS |
| | | Section 32.1. NIS Concepts |
| | | Section 32.2. Configuring NIS |
| | | Section 32.3. Managing NIS |
| | | Section 32.4. Controlling Access |
| | | Section 32.5. Using SAM to Configure NIS |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 33. Configuring and Managing the Network File System |
| | | Section 33.1. NFS Concepts |
| | | Section 33.2. Configuring an NFS Server |
| | | Section 33.3. Configuring an NFS Client |
| | | Section 33.4. NFS Daemons |
| | | Section 33.5. Troubleshooting |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 34. HP-UX Automounter |
| | | Section 34.1. Automounter Maps |
| | | Section 34.2. Configuring Automounter |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 35. Network Time Protocol |
| | | Section 35.1. Introduction to NTP |
| | | Section 35.2. Configuring the NTP Server |
| | | Section 35.3. Configuring an NTP Client |
| | | Section 35.4. Using SAM to Configure NTP |
| | | Chapter Summary |
| | | Chapter Review Questions |
| | | Test Your Knowledge |
|
| | | Chapter 36. System and Network Administration: Final Thoughts |
| | | Section 36.1. Routine Uses of a Network |
| | | Section 36.2. Using syslogd Over a Network |
| | | Section 36.3. Network Performance Monitoring |
| | | Section 36.4. Routine Tasks |
| | | Chapter Summary |
|
| | | Appendix A. CHAPTER REVIEW ANSWERS |
| | | Part One: Fundamentals of the UNIX Systems |
| | | Part Two: HP-UX System Administration |
| | | Part Three: HP-UX Network Administration |
|
| | | Appendix B. TEST YOUR KNOWLEDGE ANSWERS |
| | | Part One: Fundamentals of UNIX Systems |
| | | Part Two: HP-UX System Administration |
| | | Part Three: HP-UX Network Administration |
|
| | | Appendix C. HP-UX COMMANDS AND CONFIGURATION FILES |
| | | Commands |
| | | Configuration Files |
|
| | | Appendix D. SAMPLE HP-UX CERTIFICATION EXAM |
| | | Appendix E. GLOSSARY |
| | | Glossary |
|
|