UNIX User's Handbook, 2/e (Paperback)
暫譯: UNIX 使用者手冊,第2版 (平裝本)

Marty Poniatowski, Martin Poniatowski

  • 出版商: Prentice Hall
  • 出版日期: 2001-09-12
  • 售價: $2,380
  • 貴賓價: 9.5$2,261
  • 語言: 英文
  • 頁數: 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.

商品描述(中文翻譯)

對於任何有關 UNIX 或 Linux 的課程,包括基本系統管理、程式設計或腳本編寫的課程。
這是業界最全面且最新的 UNIX/Linux 參考資料。與一些競爭對手的參考資料不同,它提供了真正的深度:它實際上是教導 UNIX 命令,而不僅僅是列出它們。在超過 1,600 頁的內容中,暢銷 UNIX 作者 Marty Poniatowski 涵蓋了 UNIX 使用者需要掌握的每個主題——從系統管理到程式設計——所有內容都配有現實的範例和卓越的清晰度。

目錄
前言。
序言。
關於本書中使用的 UNIX 變體的說明。相關網址。本書中包含的手冊頁。本書中使用的慣例。
致謝。

UNIX 部分。
1. 開始使用——登入、郵件、網際網路存取、UNIX 組件。
介紹。多使用者 UNIX。大寫和小寫字母。登入過程。線上手冊頁。電子郵件。存取網際網路。UNIX 組件。

2. UNIX 檔案系統介紹——檔案系統佈局、file 和 ls 命令。
UNIX 的基本概念。檔案類型。ext 檔案。資料檔案。原始碼檔案。可執行檔案。Shell 程式。連結。設備檔案。file 命令。ls 命令。檔案系統佈局。Linux 檔案系統佈局。第 2 章中使用的一些命令的手冊頁。

3. 操作檔案和目錄——權限、命令、檔名擴展和通配符。
介紹。權限。絕對和相對路徑名。檔名擴展和通配符。pwd 和 cd。chmod。cp。mv。mkdir。rm。rmdir。使用命令。第 3 章中使用的一些命令的手冊頁。

4. 檢視檔案——重定向、cat、more、pg、head 和 tail 命令。
首先要做的事。重定向。使用 cat、more、pg、head 和 tail 檢視檔案。第 4 章中使用的一些命令的手冊頁。

5. UNIX 工具——split、wc、sort、cmp、diff、comm、dircmp、cut、paste、join 和 tr。
並非所有命令在所有 UNIX 變體上都可用。split。wc。sort。cmp、diff 和 comm。dircmp。cut。paste。tr。第 5 章中使用的一些命令的手冊頁。

6. 進階 UNIX 工具——正則表達式、sed、awk 和 grep。
三個命令。正則表達式的注意事項。表達式是字串和通配符。sed。awk。grep。第 6 章中使用的一些命令的手冊頁。

7. find 命令。
find 概述。查找特定類型的檔案。查找空檔案和目錄。按名稱、大小及名稱和大小查找檔案。按擁有者、類型和權限查找檔案。查找長時間未存取的檔案並對找到的檔案執行命令。find 總結。第 7 章中使用的 find 命令的手冊頁。

8. vi 編輯器。
vi 編輯器。正則表達式的注意事項。表達式是字串和通配符。模式和符號。啟動 vi 會話。游標控制命令。在 vi 中添加文本。在 vi 中刪除文本。在 vi 中更改文本。在 vi 中搜尋和替換。在 vi 中複製文本。在 vi 中撤銷和重複。保存文本並退出 vi。在 vi 中的選項。在 vi 中的狀態。文本中的區段定位和標記。合併 vi 中的行。游標放置和調整螢幕。Shell 逃脫命令。宏和縮寫。縮排文本。Shell 過濾器。模式匹配。第 8 章中使用的 vi 命令的手冊頁。

9. Bash Shell 介紹。
不同的 Shell。Bash 介紹。發出命令。在 .bashrc 中初始化歷史列表。從歷史列表中回憶。命令行編輯。在 .bashrc 中的別名。命令和路徑補全。檔名擴展。重定向(I/O 重定向)。環境變數。背景作業和作業控制。umask 和權限。

10. KornShell 介紹。
不同的 Shell。KornShell 介紹。啟動檔案。歷史檔案,.sh_history。從歷史列表中回憶。使用 r 重新執行命令。使用 vi 指令獲取命令。使用 vi 指令在命令行上編輯。在 KornShell 中的別名。命令和路徑補全。檔名擴展。重定向(I/O 重定向)。環境變數。背景作業和作業控制。umask 和權限。使用 chmod 更改檔案權限。第 10 章中使用的一些命令的手冊頁。

11. C Shell 介紹。
不同的 Shell。C Shell 介紹。發出命令。 .cshrc 檔案。 .login 檔案。在 .cshrc 中初始化歷史列表。命令行歷史。從歷史列表中重新執行命令。在 .cshrc 中的別名。檔名擴展。重定向(I/O 重定向)。Shell 和環境變數。背景作業和作業控制。umask 和權限。使用 chmod 更改檔案權限。第 11 章中使用的一些命令的手冊頁。

12. Shell 程式設計介紹。
Shell 程式設計。創建 Shell 程式的步驟。ksh 程式設計。C Shell 程式設計。第 12 章中使用的一些命令的手冊頁。

13. 系統管理介紹。
系統管理。使用 ps 檢查進程。終止進程。信號。系統啟動和關閉腳本。替代的啟動和關閉方法。系統關閉。用戶和群組。將用戶分配到群組。與磁碟相關的概念。檢視已掛載的檔案系統和交換區。確定磁碟使用情況。系統備份。排程 Cron 作業。網路。syslog 和日誌檔。dmesg。內核。設備檔案。軟體管理。列印。基於圖形的管理工具。第 13 章中使用的一些命令的手冊頁。

14. UNIX 性能工具介紹。
介紹。標準 UNIX 命令。使用 iostat 獲取 I/O 和 CPU 統計。使用 vmstat 獲取虛擬記憶體統計。使用 netstat 獲取網路統計。使用 ps 檢查進程。終止進程。信號。使用 showmount 顯示遠端掛載。顯示系統交換。sar:系統活動報告器。使用 timex 分析命令。更進階和圖形化的性能工具。HP GlancePlus/UX。使用 VantagePoint 性能代理識別瓶頸。HP VantagePoint 性能代理和 HP VantagePoint 性能分析器/UX。第 14 章中使用的一些命令的手冊頁。

15. 常見桌面環境。
為什麼需要圖形使用者介面 (GUI)?CDE 基礎。自訂 CDE。CDE——進階主題。X Window 系統。Motif。CDE。X、Motif 和 CDE 配置檔。配置檔如何協同工作。指定外觀和行為。CDE 啟動時的事件序列。CDE 和性能。結論。

16. 網路。
UNIX 網路。IEEE802.3、TCP/IP 概述。網際網路協議 (IP) 位址。使用網路。ARPA 服務(與不同作業系統的通信)。伯克利命令(UNIX 系統之間的通信)。主機名稱映射。網路檔案系統 (NFS)。其他網路命令和設置。第 16 章中使用的一些命令的手冊頁。

程式設計部分。
17. 軟體開發介紹。
介紹。理解計算機程式。編譯語言與解釋語言。

18. 程式設計結構。
介紹。指派結構。數學運算子。比較表達式。迴圈結構。選擇結構。如果…則…否則語句。巢狀 if…則…否則語句。案例語句。資料結構。

19. 程式設計設計。
介紹。一個實用的範例。下一步:物件導向方法和設計。可擴展性。可重用性。可靠性。程序範式。物件導向範式。封裝。繼承。多型。如何為物件導向語言設計。

20. 開發。
介紹。開發生命週期。分析階段。開發階段。測試階段。SCCS——源代碼控制系統。SCCS 修訂版本控制。SCCS 命令。第 20 章中使用的一些命令的手冊頁。

21. C 和 C++ 介紹。
介紹。C 和 C++——歷史。C 和 C++——編譯器。編譯程式。C 和 C++——Make 工具。C 和 C++——除錯。第 21 章中使用的一些命令的手冊頁。

22. C 程式設計基礎。
介紹。C 程式的格式。良好的程式設計實踐。C 語言的基本概念。標準庫。常數。符號常數。轉義序列。資料類型。整數。浮點數。雙精度。指數表示法。字元。空。無結構或聯合。無列舉類型。無 typedef。物件創建。存取物件。垃圾回收。陣列。字串。結構。指標。更多資料類型。儲存類別。typedef。列舉。動態記憶體分配。

23. C++ 程式設計基礎。
介紹。C++ 基礎。增強功能。C++ 的新特性。

24. 網際網路程式設計基礎。
介紹。網際網路基礎。歷史。網際網路的客戶端-伺服器模型。協議。網頁瀏覽器。

25. Java。
介紹。架構獨立性。Java 平台。Java 與 C 和 C++。Java 環境。命名空間。無預處理器。常數。無宏。無包含檔。資料類型。無指標。空值。無結構或聯合。無列舉類型。無 typedef。物件創建。存取物件。垃圾回收。陣列。字串。for 迴圈。例外和例外處理。小應用程式。

26. Perl:介紹。
程式。搜尋和替換。列表運算子。子程序。

UNIX 和 Windows 互操作性部分。
27. X Window 系統。
X Window 系統背景。X 伺服器軟體。

28. 網路——UNIX 和 Windows 互操作性。
NFS 和 X Windows。TCP/IP 網路背景。NFS 背景。使用 Windows 和 UNIX 網路。檔案傳輸協議 (FTP)。其他連接主題。

29. UNIX 的進階伺服器。
在 UNIX 上的 Windows 功能。在 UNIX 上安裝進階伺服器/9000。共享印表機。共享檔案系統。

30. Windows 命令行:NET 命令、POSIX 工具及其他。