Ship-Ship-Hooray! Free Shipping on $25+ Details >
UNIX Shell Programming

UNIX Shell Programming - 3rd edition

UNIX Shell Programming - 3rd edition

ISBN13: 9780672324901

ISBN10: 0672324903

UNIX Shell Programming by Stephen Kochan and Patrick Wood - ISBN 9780672324901
Cover type: Paperback
Edition: 3RD 03
Copyright: 2003
Publisher: Sams.Net Publishing
International: No
UNIX Shell Programming by Stephen Kochan and Patrick Wood - ISBN 9780672324901

ISBN13: 9780672324901

ISBN10: 0672324903

Cover type: Paperback
Edition: 3RD 03

List price: $44.99

Instant access, flexible term options, and deep discounts up to 60% on digital content! Happy you, happy us.

Delivered via email within 1 hour
Expires after 365 days
You Save $9.00 (20%)
Format: Vitalsource
Use for 365 days

Please note: eTextbooks do not come with access codes, CDs/DVDs, workbooks, and other supplemental items.
Well, that's no good. Unfortunately, this edition is currently out of stock. Please check back soon.

shop us with confidence


Unix Shell Programming is a tutorial aimed at helping Unix and Linux users get optimal performance out of their operating out of their operating system. It shows them how to take control of their systems and work efficiently by harnessing the power of the shell to solve common problems. The reader learns everything he or she needs to know to customize the way a Unix system responds.

The vast majority of Unix users utilize the Korn shell or some variant of the Bourne shell, such as bash. Three are covered in the third edition of Unix Shell Programming. It begins with a generalized tutorial of Unix and tools and then moves into detailed coverage of shell programming.

Topics covered include: regular expressions, the kernel and the utilities, command files, parameters, manipulating text filters, understanding and debugging shell scripts, creating and utilizing variables, tools, processes, and customizing the shell.

Author Bio

Kochan, Stephen G. :

Stephen G. Kochan is the owner of TechFitness, a technology-based fitness company. Prior to that, he was the President and CEO of Pipeline Associates, a company specializing in color printing software. Mr. Kochan is the author of several best-selling books on Unix and C programming, including the best-selling Programming in C. He also acted as Series Editor for the Hayden Unix System Library.

Wood, Patrick :

Patrick Wood is the CTO of the New Jersey location of Electronics for Imaging. He was a member of the technical staff at Bell Laboratories when he met Mr. Kochan back in 1985. Together they founded Pipeline Associates, Inc., a Unix consulting firm, where he was the Vice President. The co-authored Exploring the Unix System, Unix System Security, Topics in C Programming, and Unix Shell Programming.

Table of Contents

Table of Contents

1. Introduction.

2. A Quick Review of the Basics.

Some Basic Commands.
Working with Files.
Working with Directories.
Filename Substitution.
Standard Input/Output and I/O Redirection.
Standard Error.
More on Commands.
Command Summary.

3. What Is the Shell?

The Kernel and the Utilities.
The Login Shell.
Typing Commands to the Shell.
The Shell's Responsibilities.

4. Tools of the Trade.

Regular Expressions.

5. And Away We Go.

Command Files.
Built-in Integer Arithmetic.

6. Can I Quote You on That?

The Single Quote.
The Double Quote.
The Backslash.
Command Substitution.

7. Passing Arguments.

The shift Command.

8. Decisions, Decisions.

Exit Status.
The test Command.
The else Construct.
The exit Command.
The elif Construct.
The case Command.
The Null Command :.
The && and Constructs.

9. 'Round and 'Round She Goes.

The for Command.
The until Command.
More on Loops.
The getopts Command.

10. Reading and Printing Data.

The read Command.
The printf Command.

11. Your Environment.

Local Variables.
Exported Variables.
PS1 and PS2.
HOME, James.
Your PATH.
Your Current Directory.
More on Subshells. Your .profile File.
The TERM Variable.
The TZ Variable.

12. More on Parameters.

Parameter Substitution.
The $0 Variable.
The set Command.
The IFS Variable.
The readonly Command.
The unset Command.

13. Loose Ends.

The eval Command.
The wait Command.
The trap Command.
More on I/O.
The type Command.

14. Rolo Revisited.

Design Considerations.
rolo. add.
Lu display.
Sample Output.

15. Interactive and Nonstandard Shell Features.

Getting the Right Shell.
The ENV File.
Command-Line Editing.
Command History.
The vi Line Edit Mode.
The Line Edit Mode.
Other Ways to Access Your History.
Integer Arithmetic.
The alias Command.
Job Control.
The Restricted Shell rsh.
Miscellaneous Features.
Compatibility Summary.

Appendix A. Shell Summary.

Parameters and Variables.
Command Re-entry.
Filename Substitution.
I/O Redirection.
Exported Variables and Subshell Execution.
Job Control.
Command Summary.

Appendix B. For More Information.

Online Documentation.
Documentation on the Web.

Digital Rights

eBook Requirements
VitalSource Bookshelf Reader
Minimum System Requirements:
  • Windows 7/8, or Mac OS X 10.6 or above
Software Requirements:

eTextbooks and eChapters can be viewed by using the free reader listed below.

Be sure to check the format of the eTextbook/eChapter you purchase to know which reader you will need. After purchasing your eTextbook or eChapter, you will be emailed instructions on where and how to download your free reader.

Download Requirements:

Due to the size of eTextbooks, a high-speed Internet connection (cable modem, DSL, LAN) is required for download stability and speed. Your connection can be wired or wireless.

Being online is not required for reading an eTextbook after successfully downloading it. You must only be connected to the Internet during the download process.

User Help:

Click Here to access the VitalSource Bookshelf FAQ

Digital Rights
Copying: Allowed, 2 selections may be copied every 365 days
Printing: Allowed, 2 prints for 365 days
Expires: Yes, may be used for 365 days after activation
Reading Aloud: Allowed
Sharing: Not Allowed
Min. Software Version: Online: No additional software required
Offline: VitalSource Bookshelf

Suitable Devices: PCs, Tablet PCs, Macs, Laptops

Digital Rights Management (DRM) Key

Copying - Books that cannot be copied will show "Not Allowed." Otherwise, this will detail the number of times it can be copied, or "Allowed with no limits."

Printing - Books that cannot be printed will show "Not Allowed." Otherwise, this will detail the number of times it can be printed, or "Allowed with no limits."

Expires - Books that have no expiration (the date upon which you will no longer be able to access your eBook) will read "No Expiration." Otherwise it will state the number of days from activation (the first time you actually read it).

Reading Aloud - Books enabled with the "text-to-speech" feature so that they can be read aloud will show "Allowed."

Sharing - Books that cannot be shared with other computers will show "Not Allowed."

Min. Software Version - This is the minimum software version needed to read this book.

Suitable Devices - Hardware known to be compatible with this book. Note: Reader software still needs to be installed.