Skip to content

UNIX Programming Environment

Best in textbook rentals since 2012!

ISBN-10: 013937681X

ISBN-13: 9780139376818

Edition: 1984

Authors: Brian Kernighan, Rob Pike

List price: $119.99
Shipping box This item qualifies for FREE shipping.
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!


In their Preface, the authors explain, "This book is meant to help the reader learn how to program in C. It contains a tutorial introduction to get new users started as soon as possible, separate chapters on each major feature, and a reference manual. Most of the treatment is based on reading, writing, and revising examples, rather than on mere statements of rules. For the most part, the examples are complete, real programs, rather than isolated fragments. All examples have been tested directly from the text, which is in machine-readable form. Besides showing how to make effective use of the language, we have also tried where possible to illustrate useful algorithms and principles of good…    
Customers also bought

Book details

List price: $119.99
Copyright year: 1984
Publisher: Pearson Education
Publication date: 11/1/1983
Binding: Paperback
Pages: 376
Size: 7.00" wide x 9.25" long x 0.75" tall
Weight: 1.342
Language: English

Brian Kernighan is a Professor of Computer Science at Princeton University. He is the co-author of eight other books, including the computer science classic The C Programming Language.

UNIX for Beginners
Getting started
Day-to-day use: files and common commands
More about files: directories
The shell
The rest of the UNIX system
The File System
The basics of files
What's in a file?
Directories and filenames
The directory hierarchy
Using the Shell
Command line structure
Creating new commands
Command arguments and parameters
Program output as arguments
Shell variables
More on I/O redirection
Looping in shell programs
bundle: putting it all together
Why a programmable shell?
The grep family
Other filters
The stream editor sed
The awk pattern scanning and processing language
Good files and good filters
Shell Programming
Customizing the cal command
Which command is which?
While and until loops: watching for things
Traps: catching interrupts
Replacing a file: overwrite
Zap: killing proceses by name
The pick command: blanks vs. arguments
The news command: community service messages
Get and put: tracking file changes
A look back
Programming with Standard I/O
Standard input and output: vis
Program arguments: vis version 2
File access: vis version 3
A screen-at-a-time printer: p
An example: pick
On bugs and debugging
An example: zap
An interactive file comparison program: idiff
Accessing the environment
UNIX System Calls
Low-level I/O
File system: directories
File system: inodes
Signals and interrupts
Program Development
Stage 1: A four-function calculator
Stage 2: Variables and error recovery
Stage 3: Arbitrary variable names; built-in functions
Stage 4: Compilation into a machine
Stage 5: Control flow and relational operators
Stage 6: Functions and procedures; input/output
Performance evaluation
A look back
Document Preparation
The ms macro package
The troff level
The tbl and eqn preprocessors
The manual page
Other document preparation tools
Editor Summary
hoc Manual
hoc Listing