Cover image for UNIX in a nutshell : a desktop quick reference for System V Release 4 and Solaris 7
UNIX in a nutshell : a desktop quick reference for System V Release 4 and Solaris 7
Robbins, Arnold.
Personal Author:
Third edition.
Publication Information:
Beijing ; Sebastopol, CA : O'Reilly, [1999]

Physical Description:
xvi, 598 pages ; 23 cm.
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.76.O63 U544 1999 Adult Non-Fiction Central Closed Stacks

On Order



You may have seen Unix quick-reference guides, but you've never seen anything like UNIX in a Nutshell . Not a scaled-down quick reference of common commands, UNIX in a Nutshell is a complete reference containing all commands and options, along with generous descriptions and examples that put the commands in context. For all but the thorniest Unix problems, this one reference should be all the documentation you need.The third edition of UNIX in a Nutshell includes thorough coverage of System V Release 4. To that, author Arnold Robbins has added the latest information about:

Sixty new commands in The Alphabetical Summary of Commands Solaris 7 Shell syntax ( sh , csh , and the 1988 and 1993 versions of ksh ) Regular expression syntax vi and ex commands, as well as newly updated Emacs information sed and awk commands troff and related commands and macros, with a new section on refer make , RCS (version 5.7), and SCCS commands In addition, there is a new Unix bibliography to guide the reader to further reading about the Unix environment.If you currently use Unix SVR4, or if you're a Solaris user, you'll want this book. UNIX in a Nutshell is the most comprehensive quick reference on the market, a must for any Unix user.

Author Notes

Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.

Table of Contents

Prefacep. xiii
Part I Commands and Shells
Chapter 1 Introductionp. 3
Merging the Traditionsp. 3
Bundlingp. 4
What's in the Quick Referencep. 5
Beginner's Guidep. 6
Guide for Users of BSD-Derived Systemsp. 9
Solaris: Standard Compliant Programsp. 10
Chapter 2 Unix Commandsp. 11
Alphabetical Summary of Commandsp. 12
Chapter 3 The Unix Shell: An Overviewp. 201
Introduction to the Shellp. 201
Purpose of the Shellp. 202
Shell Flavorsp. 202
Common Featuresp. 204
Differing Featuresp. 205
Chapter 4 The Bourne Shell and Korn Shellp. 207
Overview of Featuresp. 207
Syntaxp. 208
Variablesp. 214
Arithmetic Expressionsp. 220
Command Historyp. 222
Job Controlp. 223
Invoking the Shellp. 224
Restricted Shellsp. 225
Built-in Commands (Bourne and Korn Shells)p. 225
Chapter 5 The C Shellp. 260
Overview of Featuresp. 260
Syntaxp. 261
Variablesp. 265
Expressionsp. 270
Command Historyp. 273
Job Controlp. 275
Invoking the Shellp. 276
Built-in C Shell Commandsp. 277
Part II Text Editing and Processing
Chapter 6 Pattern Matchingp. 295
Filenames Versus Patternsp. 295
Metacharacters, Listed by Unix Programp. 296
Metacharactersp. 297
Examples of Searchingp. 299
Chapter 7 The Emacs Editorp. 302
Introductionp. 302
Summary of Commands by Groupp. 304
Summary of Commands by Keyp. 311
Summary of Commands by Namep. 315
Chapter 8 The vi Editorp. 321
Review of vi Operationsp. 321
Movement Commandsp. 324
Edit Commandsp. 326
Saving and Exitingp. 327
Accessing Multiple Filesp. 328
Interacting with Unixp. 328
Macrosp. 329
Miscellaneous Commandsp. 329
Alphabetical List of Keysp. 329
Setting Up vip. 332
Chapter 9 The ex Editorp. 337
Syntax of ex Commandsp. 337
Alphabetical Summary of ex Commandsp. 339
Chapter 10 The sed Editorp. 349
Conceptual Overviewp. 349
Command-Line Syntaxp. 350
Syntax of sed Commandsp. 350
Group Summary of sed Commandsp. 352
Alphabetical Summary of sed Commandsp. 353
Chapter 11 The awk Programming Languagep. 361
Conceptual Overviewp. 361
Command-Line Syntaxp. 363
Patterns and Proceduresp. 363
Built-in Variablesp. 366
Operatorsp. 366
Variables and Array Assignmentsp. 367
User-Defined Functionsp. 368
Group Listing of awk Functions and Commandsp. 369
Implementation Limitsp. 369
Alphabetical Summary of Functions and Commandsp. 370
Part III Text Formatting
Chapter 12 nroff and troffp. 381
Introductionp. 381
Command-Line Invocationp. 382
Conceptual Overviewp. 383
Default Operation of Requestsp. 387
Group Summary of Requestsp. 390
Alphabetical Summary of Requestsp. 392
Escape Sequencesp. 405
Predefined Registersp. 407
Special Charactersp. 408
Chapter 13 mm Macrosp. 413
Alphabetical Summary of mm Macrosp. 413
Predefined String Namesp. 429
Number Registers Used in mmp. 429
Other Reserved Macro and String Namesp. 432
Sample Documentp. 432
Chapter 14 ms Macrosp. 434
Alphabetical Summary of ms Macrosp. 434
Number Registers for Page Layoutp. 440
Reserved Macro and String Namesp. 440
Reserved Number Register Namesp. 441
Sample Documentp. 441
Chapter 15 me Macrosp. 443
Alphabetical Summary of me Macrosp. 443
Predefined Stringsp. 454
Predefined Number Registersp. 455
Sample Documentp. 456
Chapter 16 man Macrosp. 458
Alphabetical Summary of man Macrosp. 458
Predefined Stringsp. 462
Internal Namesp. 463
Sample Documentp. 463
Chapter 17 troff Preprocessorsp. 465
tblp. 466
eqnp. 469
picp. 473
referp. 481
Part IV Software Development
Chapter 18 The Source Code Control Systemp. 489
Introductionp. 489
Overview of Commandsp. 490
Basic Operationp. 490
Identification Keywordsp. 493
Data Keywordsp. 493
Alphabetical Summary of SCCS Commandsp. 495
sccs and Pseudo-Commandsp. 503
Chapter 19 The Revision Control Systemp. 506
Overview of Commandsp. 506
Basic Operationp. 507
General RCS Specificationsp. 508
Conversion Guide for SCCS Usersp. 512
Alphabetical Summary of Commandsp. 513
Chapter 20 The make Utilityp. 525
Conceptual Overviewp. 525
Command-Line Syntaxp. 526
Description File Linesp. 527
Macrosp. 528
Special Target Namesp. 529
Writing Command Linesp. 529
Sample Default Macros, Suffixes, and Rulesp. 531
Part V Appendixes
Appendix A ASCII Character Setp. 537
Appendix B Obsolete Commandsp. 542
Bibliographyp. 566
Indexp. 577