Unix in a Nutshell, 4/e

Arnold Robbins

  • 出版商: O'Reilly
  • 出版日期: 2005-11-29
  • 定價: $1,520
  • 售價: 9.5$1,444
  • 語言: 英文
  • 頁數: 908
  • 裝訂: Paperback
  • ISBN: 0596100299
  • ISBN-13: 9780596100292
  • 立即出貨 (庫存=1)




As an open operating system, Unix can be improved on by anyone and everyone: individuals, companies, universities, and more. As a result, the very nature of Unix has been altered over the years by numerous extensions formulated in an assortment of versions. Today, Unix encompasses everything from Sun's Solaris to Apple's Mac OS X and more varieties of Linux than you can easily name.

The latest edition of this bestselling reference brings Unix into the 21st century. It's been reworked to keep current with the broader state of Unix in today's world and highlight the strengths of this operating system in all its various flavors.

Detailing all Unix commands and options, the informative guide provides generous descriptions and examples that put those commands in context. Here are some of the new features you'll find in Unix in a Nutshell, Fourth Edition:

  • Solaris 10, the latest version of the SVR4-based operating system, GNU/Linux, and Mac OS X
  • Bash shell (along with the 1988 and 1993 versions of ksh)
  • tsch shell (instead of the original Berkeley csh)
  • Package management programs, used for program installation on popular GNU/Linux systems, Solaris and Mac OS X
  • GNU Emacs Version 21
  • Introduction to source code management systems
  • Concurrent versions system
  • Subversion version control system
  • GDB debugger


As Unix has progressed, certain commands that were once critical have fallen into disuse. To that end, the book has also dropped material that is no longer relevant, keeping it taut and current.

If you're a Unix user or programmer, you'll recognize the value of this complete, up-to-date Unix reference. With chapter overviews, specific examples, and detailed command.

Table of Contents:

Chapter 1


I. Commands and Shells

1. Introduction

     Unix in the 21st Century

     Obtaining Compilers

     Building Software

     What's in the Quick Reference

     Beginner's Guide

     Solaris: Standard Compliant Programs

2. Unix Commands


     Alphabetical Summary of Common Commands

     Alphabetical Summary of Solaris Commands
     Alphabetical Summary of GNU/Linux Commands

     Alphabetical Summary of Mac OS X Commands

     Alphabetical Summary of Java Commands

3. The Unix Shell: An Overview

     Introduction to the Shell

     Purpose of the Shell

     Shell Flavors

     Shell Source Code URLs

     Common Features

     Differing Features

4. The Bash and Korn Shells

     Overview of Features

     Invoking the Shell




     Arithmetic Expressions

     Command History

     Job Control

     Command Execution

     Restricted Shells

     Built-in Commands (Bash and Korn Shells)

5. tcsh: An Extended C Shell

     Overview of Features

     Invoking the Shell




     Command History

     Command-Line Manipulation

     Job Control

     Built-in Commands

6. Package Management

     Linux Package Management

     The Red Hat Package Manager

     Yum: Yellowdog Updater Modified

     up2date: Red Hat Update Agent

     The Debian Package Manager

     Mac OS X Package Management

     Solaris Package Management

II. Text Editing and Processing

7. Pattern Matching

     Filenames Versus Patterns


     Metacharacters, Listed by Unix Program

     Examples of Searching

8. The Emacs Editor

     Conceptual Overview

     Command-Line Syntax

     Summary of Commands by Group

     Summary of Commands by Key

     Summary of Commands by Name

9. The vi, ex, and vim Editors

     Conceptual Overview

     Command-Line Syntax

     Review of vi Operations

     vi Commands

     vi Configuration

     ex Basics

     Alphabetical Summary of ex Commands

10. The sed Editor

     Conceptual Overview

     Command-Line Syntax

     Syntax of sed Commands

     Group Summary of sed Commands

     Alphabetical Summary of sed Commands

11. The awk Programming Language

     Conceptual Overview

     Command-Line Syntax

     Patterns and Procedures

     Built-in Variables


     Variable and Array Assignment

     User-Defined Functions

     Gawk-Specific Features

     Implementation Limits

     Group Listing of awk Functions and Commands
     Alphabetical Summary of awk Functions and Commands

     Output Redirections

     Source Code

III. Software Development

12. Source Code Management: An Overview

     Introduction and Terminology

     Usage Models

     Unix Source Code Management Systems

     Other Source Code Management Systems

13. The Revision Control System

     Overview of Commands

     Basic Operation

     General RCS Specifications

     Alphabetical Summary of Commands

14. The Concurrent Versions System

     Conceptual Overview

     Command-Line Syntax and Options

     Dot Files

     Environment Variables

     Keywords and Keyword Modes


     CVSROOT Variables

     Alphabetical Summary of Commands

15. The Subversion Version Control System

     Conceptual Overview

     Obtaining Subversion

     Using Subversion: A Quick Tour

     The Subversion Command Line Client: svn

     Repository Administration: svnadmin

     Examining the Repository: svnlook

     Providing Remote Access: svnserve

     Other Subversion Components

16. The GNU make Utility

     Conceptual Overview

     Command-Line Syntax

     Makefile Lines


     Special Target Names

     Writing Command Lines

17. The GDB Debugger

     Conceptual Overview

     Command-Line Syntax

     Initialization Files

     GDB Expressions

     The GDB Text User Interface

     Group Listing of GDB Commands

     Summary of set and show Commands

     Summary of the info Command

     Alphabetical Summary of GDB Commands

18. Writing Manual Pages


     Overview of nroff/troff

     Alphabetical Summary of man Macros

     Predefined Strings

     Internal Names

     Sample Document

IV. References

ISO 8859-1 (Latin-1) Character Set





作為一個開放的操作系統,Unix可以由任何人和每個人進行改進:個人、公司、大學等等。因此,多年來,Unix的本質已經被許多版本中的許多擴展所改變。如今,Unix包括從Sun的Solaris到Apple的Mac OS X以及更多你很難一一列舉的Linux變體。


詳細介紹了所有Unix命令和選項,這本信息豐富的指南提供了豐富的描述和示例,將這些命令放入了上下文中。以下是您在《Unix in a Nutshell, Fourth Edition》中將找到的一些新功能:

- Solaris 10,基於SVR4的最新版本操作系統,GNU/Linux和Mac OS X
- Bash shell(以及1988年和1993年版本的ksh)
- tsch shell(而不是原始的Berkeley csh)
- 用於在流行的GNU/Linux系統、Solaris和Mac OS X上安裝程序的套件管理程序
- GNU Emacs Version 21
- 引入源代碼管理系統
- 同時版本系統
- Subversion版本控制系統
- GDB調試器




- 第1章
- 前言
- I. 命令和Shell
- 1. 簡介
- Unix在21世紀
- 獲取編譯器
- 構建軟件
- 快速參考內容
- 初學者指南
- Solaris:標準兼容程序
- 2. Unix命令
- 簡介
- 常見命令的字母順序摘要
- Solaris命令的字母順序摘要
- GNU/Linux命令的字母順序摘要
- Mac OS X命令的字母順序摘要
- Java命令的字母順序摘要
- 3. Unix Shell:概述
- Shell介紹
- Shell的目的
- Shell的種類
- Shell源代碼URL
- 共同特點
- 不同特點
- 4. Bash和Korn Shel