UNIX User's Handbook, 2/e (Paperback)

Marty Poniatowski, Martin Poniatowski

  • 出版商: Prentice Hall
  • 出版日期: 2001-09-12
  • 售價: $2,300
  • 貴賓價: 9.5$2,185
  • 語言: 英文
  • 頁數: 1472
  • 裝訂: Paperback
  • ISBN: 0130654191
  • ISBN-13: 9780130654199
  • 已過版

買這商品的人也買了...

商品描述

For any course in UNIX or Linux, including courses in basic system administration, programming, or scripting.

This is the industry's most thorough and up-to-date UNIX/Linux reference. Unlike some competitive references, it offers real depth: it actually teaches UNIX commands rather than just listing them. In 1,600+ pages, best-selling UNIX author Marty Poniatowski covers every topic UNIX users need to master—from system administration to programming—all with realistic examples and exceptional clarity.

Table of Contents

Foreword.
Preface.

A Word about the UNIX Variants Used throughout This Book. Relevant URLs. Manual Pages Included in This Book. Conventions Used in the Book.


Acknowledgments.

UNIX SECTION.

1. Getting Started—Login, Mail, Internet Access, UNIX Components.

Introduction. Multi-User UNIX. Uppercase and Lowercase Letters. Login Process. Online Manual Pages. Electronic Mail. Accessing the Internet. UNIX Components.


2. UNIX File System Introduction—File System Layout, file and ls Commands.

The Basics of UNIX. File Types. ext Files. Data Files. Source Code File. Executable Files. Shell Programs. Links. Device Files. The file Command. The ls Command. File System Layout. Linux File System Layout. Manual Pages for Some Commands Used in Chapter 2.


3. Working with Files and Directories—Permissions, Commands, File Name Expansion, and Wild Cards.

Introduction. Permissions. Absolute and Relative Path Names. File Name Expansion and Wild Cards. pwd and cd. chmod. cp. mv. mkdir. rm. rmdir. Using Commands. Manual Pages for Some Commands Used in Chapter 3.


4. Viewing Files—Redirection, cat, more, pg, head, and tail Commands.

First Things First. Redirection. Viewing Files with cat, more, pg, head, and tail. Manual Pages for Some Commands Used in Chapter 4.


5. UNIX Tools—split, wc, sort, cmp, diff, comm, dircmp, cut, paste, join, and tr.

Not All Commands on All UNIX Variants. split. wc. sort. cmp, diff, and comm. dircmp. cut. paste. tr. Manual Pages for Some Commands Used in Chapter 5.


6. Advanced UNIX Tools—Regular Expressions, sed, awk, and grep.

Three Commands. egular Expression Words-of-Caution. Expressions Are Strings and Wildcards. sed. awk. grep. Manual Pages for Some Commands Used in Chapter 6.


7. find Command.

find Overview. Finding Files of a Specific Type. Find Empty Files and Directories. Finding Files By Name, Size, and Both Name and Size. Finding Files By Owner, Type, and Permissions. Finding Long Unaccessed Files and Running Commands on Found Files. find Summary. Manual Pages for find Command Used in Chapter 7. find.


8. The vi Editor.

The vi Editor. Regular Expression Words-of-Caution. Expressions Are Strings and Wildcards. Modes and Notations. Starting a vi Session. Cursor Control Commands. Adding Text in vi. Deleting Text in vi. Changing Text in vi. Search and Replace in vi. Copying Text in vi. Undo and Repeat in vi. Save Text and Exit vi. Options in vi. Status in vi. Section Positioning and Placing Marks in Text. Joining Lines in vi. Cursor Placement and Adjusting the Screen. Shell Escape Commands. Macros and Abbreviations. Indenting Text. Shell Filters. Pattern Matching. Manual Pages for vi Command Used in Chapter 8. vi.


9. Introduction to the Bash Shell.

Different Shells. Introduction to Bash. Issuing Commands. Initializing the History List in .bashrc. Recalling from the History List. Editing on the Command Line. Aliases in .bashrc. Command and Path Completion. File Name Expansion. Redirection (I/O Redirection). Environment Variables. Background Jobs and Job Control. umask and Permissions.


10. Introduction to the KornShell.

Different Shells. Introduction to KornShell. Startup Files. The History File, .sh_history. Recalling from the History List. Re-executing Commands with r. Fetching Commands Using vi Directives. Editing on the Command Line Using vi Directives. Aliases in KornShell. Command and Path Completion. File Name Expansion. Redirection (I/O Redirection). Environment Variables. Background Jobs and Job Control. umask and Permissions. Change File Permissions with chmod. Manual Pages of Some Commands Used in Chapter 10.


11. Introduction to the C Shell.

Different Shells. Introduction to the C Shell. Issuing Commands. The .cshrc File. The .login File. Initialize History List in .cshrc. Command-Line History. Re-Executing Commands from the History List. Aliases in .cshrc. File-Name Expansion. Redirection (I/O Redirection). Shell and Environment Variables. Background Jobs and Job Control. umask and Permissions. Change File Permissions with chmod. Manual Pages of Some Commands Used in Chapter 11. csh.


12. Introduction to Shell Programming.

Shell Programming. Steps to Create Shell Programs. ksh Programming. C Shell Programming. Manual Pages for Some Commands Used in Chapter 12.


13. Introduction to System Administration.

System Administration. Check Processes with ps. Killing a Process. Signals. System Startup and Shutdown Scripts. An Alternative Startup and Shutdown Method. System Shutdown. Users and Groups. Assigning Users to Groups. Disk-Related Concepts. Viewing Mounted Filesystems and Swap. Determining Disk Usage. System Backup. Scheduling Cron Jobs. Networking. syslog and Log Files. dmesg. The Kernel. Device Files. Software Management. Printing. Graphical-Based Management Tools. Manual Pages of Some Commands Used in Chapter 13.


14. Introduction to UNIX Performance Tools.

Introduction. Standard UNIX Commands. I/O and CPU Statistics with iostat. Virtual Memory Statistics with vmstat. Network Statistics with netstat. Check Processes with ps. Killing a Process. Signals. Show Remote Mounts with showmount. Show System Swap. sar: The System Activity Reporter. timex to Analyze a Command. More Advanced and Graphical Performance Tools. HP GlancePlus/UX. Using VantagePoint Performance Agent to Identify Bottlenecks. HP VantagePoint Performance Agent and HP VantagePoint Performance Analyzer/UX. Manual Pages of Some Commands Used in Chapter 14.


15. Common Desktop Environment.

Why a Graphical User Interface (GUI)? CDE Basics. Customizing CDE. CDE—Advanced Topics. The X Window System. Motif. CDE. X, Motif, and CDE Configuration Files. How Configuration Files Play Together. Specifying Appearance and Behavior. The Sequence of Events When CDE Starts. CDE and Performance. Conclusion.


16. Networking.

UNIX Networking. An Overview of IEEE802.3, TCP/IP. Internet Protocol (IP) Addressing. Using Networking. ARPA Services (Communication with Different OS). Berkeley Commands (Communication among UNIX Systems). Host Name Mapping. Network File System (NFS). Other Networking Commands and Setup. Manual Pages of Some Commands Used in Chapter 16.

PROGRAMMING SECTION.


17. Introduction to Software Development.

Introduction. Understanding Computer Programs. Compiled vs. Interpreted Languages.


18. Programming Constructs.

Introduction. Assignment Constructs. Mathematical Operators. Comparison Expressions. Loop Constructs. Choice Constructs. If…then…else Statement. Nested if…then…else Statement. Case Statement. Data Structures.


19. Programming Design.

Introduction. A Practical Example. The Next Step: Object-Oriented Method and Design. Extendibility. Reusability. Reliability. Procedural Paradigm. Object-Oriented Paradigm. Encapsulation. Inheritance. Polymorphism. How to Design for Object-Oriented Languages.


20. Development.

Introduction. Development Life Cycle. Analysis Phase. Development Phase. Test Phase. SCCS—Source Code Control System. SCCS Revision Versioning. SCCS Commands. Manual Pages of Some Commands Used in Chapter 20.


21. Introduction to C and C++.

Introduction. C and C++—The History. C and C++—Compilers. Compiling Programs. C and C++—Make Utility. C and C++—Debugging. Manual Pages of Some Commands Used in Chapter 21.


22. C Programming Basics.

Introduction. Format of a C Program. Good Programming Practices. C Language Nuts and Bolts. Standard Library. Constants. Symbolic Constants. Escape Sequences. Data Types. Integer. Floating Point. Double Precision. Exponential Notation. Character. Void. Arithmetic Expressions. Increment and Decrement Operators. Assignment Operators. Type Conversion. Precedence. Looping. Break Statement. Continue Statement. Logical Operators. Nested Loops. Choice. The if Statement. Logical Operators. The switch Statement. Functions. Arrays. Strings. Structures. Pointers. More Data Types. Storage Classes. Typedef. Enumerations. Dynamic Memory Allocation.


23. C++ Programming Basics.

Introduction. C++ Basics. Enhancements. New Features of C++.


24. Internet Programming Basics.

Introduction. Internet Basics. History. Client-Server Model of the Internet. Protocols. Web Browsers.


25. Java.

Introduction. Architecture Independence. The Java Platform. Java vs. C and C++. Java Environment. Name Space. No Preprocessor. Constants. No Macros. No Include Files. Data Types. No Pointers. Null. No Structure or Unions. No Enumerated Types. No Typedef. Object Creation. Accessing Objects. Garbage Collection. Arrays. Strings. The for Loop. Exception and Exception Handling. Applets.


26. Perl: An Introduction.

Programs. Search and Replace. List Operators. Subroutines.

UNIX AND WINDOWS INTEROPERABILITY SECTION.


27. The X Window System.

X Window System Background. X Server Software.


28. Networking—UNIX and Windows Interoperability.

NFS and X Windows. TCP/IP Networking Background. NFS Background. Using Windows and UNIX Networking. File Transfer Protocol (FTP). Other Connection Topics.


29. Advanced Server for UNIX.

Windows Functionality on UNIX. Installing Advanced Server/9000 on UNIX. Sharing a Printer. Sharing a File System.


30. The Windows Command Line: NET Commands, POSIX Utilities, and Others.

Introduction for UNIX System Administrators. The Windows Command Line. NET Commands. POSIX Utilities. Additional Commands. Networking Commands. Permissions with cacls. Command-Line Backup.


31. Services for UNIX (SFU).

Introduction to SFU. Using the Network File System Functionality of SFU. Telnet Client. Telnet Server. UNIX Utilities. NFS Server. Password Synchronization.


32. Samba.

Samba Overview. Setup. Using Shares. Additional Samba Topics. Samba Web Configuration Tool (SWAT). Log Files. File Name Mangling. User Issues. Samba Utilities and Programs. Obtaining Samba.


Index.