Home > Store

Hands-On UNIX: A Practical Guide with the Essentials of Coherent, 3.5, 5.25 Package

Register your product to gain access to bonus material or receive a coupon.

Hands-On UNIX: A Practical Guide with the Essentials of Coherent, 3.5, 5.25 Package

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 1995
  • Dimensions: 6-1/4x9-1/4
  • Pages: 864
  • Edition: 1st
  • Book
  • ISBN-10: 0-8053-7568-6
  • ISBN-13: 978-0-8053-7568-8

When you want the best of both worlds, choose Hands-on Unix. This excellent package delivers Unix System V: A Practical Guide, plus The Essentials of Coherent, a popular PC-based Unix operating system clone developed by the Mark Williams Company.

The third edition of Unix System V: A Practical Guide is a complete tutorial guide to System V Release 4.2 that has been thoroughly updated to reflect the changes made in this version of Unix.

With a look and feel almost identical to that of Unix, Coherent is a virtual clone of the Unix operating system for the PC. Users will gain practical, hands-on experience from this mini-version of the Coherent operating system, taking advantage of Coherent's multi-user, multi-tasking capabilities and utilizing a wide range of utilities and commands. To make this software even easier to use, online help is included and the commands discussed both in the book and on the diskette have the same name and function.

Essentials of Coherent includes:

  • The shells: ksh and sh
  • Commands for displaying and manipulating files: awk, cat, cp, ed, find, grep, head, kill, lc, ls, ln, me, mkdir, mv, pg, qfind, rm, rmdir, sed, sort, tail, uniq, vi, and wc
  • Commands for displaying and altering status: chgrp, chmod, chown, date, df, du, file, newgrp, newusr, ps, pwd, and stty
  • Programming tools: c compiler, make, and touch
  • Additional tools: at, ATclock, clear, crontab, fsck, login, mknod, mount, passwd, sync, tr, and umount
  • New chapters discussing the Korn Shell, the emacs text editor, Networking, and Graphical User Interfaces
  • Coverage of the latest releases of UNIX as well as the POSIX Standards
  • An enhanced, step-by-step tutorial introduction to UNIX that incorporates examples, exercises, sample screens, and review questions
  • A demonstration of the use of UNIX for text editing, electronic mail, shell programming, and other applications, and present in-depth coverage of the make, SCCS, RCS, awk, and sed programming tools
  • An invaluable overview of the UNIX system in Chapter 1
  • Coverage of the Bourne, C, and Korn shells in detail and explain how to write shell programs (shell scripts)
  • A reference to more than 75 of the most frequently used UNIX utilities in Part II
  • Clearly marked sections of optional advanced material for experienced UNIX users

Hardware Requirements

The 3.5" and 5.25" diskettes will run on IBM PC-AT (and compatible) 286, 386 and 486 machines. At least 640K of RAM is required. The software will only function through the A floppy drive. It will not function through the B drive or on microchannel-based machines.

Coherent is a registered trademark of Mark Williams Company.



0805375686B04062001

Sample Content

Table of Contents

I: UNIX SYSTEM.

 1. The UNIX Operating System.
 2. Getting Started.
 3. An Introduction to the Utilities.
 4. The File Structure.
 5. The Shell.
 6. Window Systems.
 7. Networking.
 8. The vi Editor.
 9. The emacs Text Editor.
10. The Bourne Shell.
11. The C Shell.
12. Introduction to the Korn Shell.
13. Programming Tools.
14. System Administration.

II: THE UNIX UTILITY PROGRAMS.

Appendixes for UNIX System V and Hands-on UNIX.

A. Regular Expressions.

B. AIX.

C. HPUX.

D. SCO.

E. The POSIX Standards. 0805375686T04062001

Preface

This book is practical because it uses tutorial examples that show you what you will see on your terminal screen each step of the way. It is a guide because it takes you from logging in on your system (Chapter 2) through writing complex shell programs (Chapters 10, 11, 12), using sophisticated software development tools (Chapter 13), and administrating a system (Chapter 14). Part II is a reference guide to 78 UNIX utilities. This Practical Guide is intended for people with some computer experience but little or no experience with the UNIX system. However, more experienced UNIX system users will find the later chapters and Part II to be useful sources of information on such subjects as basic and advanced shell programming, C programming, networks, graphical user interfaces, and system administration.

This book covers System V Release 4, which is the foundation for most UNIX systems manufactured today, including Sun's Solaris environment. The following list highlights some of the features of this book.

Networking

A new chapter (Chapter 7) is devoted to explaining what a network is, how it works, and how you can use it. It tells you about types of networks, various network implementations, distributed computing, how to use the network for communicating with other users via talk and malix, and using various networking utilities (such as telnet, ftp).

Internet and the World Wide Web

Chapter 7 also discusses the use of the Internet and shows, with examples, how to use archie and gopher, two user-friendly interfaces to the Internet.

It also details the World Wide Web and its use of hypertext, and explains how to use the powerful browser named Mosaic.

Graphical User Interfaces (GUIs)

Chapter 6, another new chapter, discusses various graphical user interfaces, including Motif and OPEN LOOK. It explains the X Window system, how to open and control windows, how to customize your X work environment, and how to customize the Motif window manager.

The Korn Shell and Advanced Shell Programming

The newest of the three major shells, the Korn Shell, is becoming more popular. Chapter 12 covers the latest version of this shell (ksh93) as well as older versions. This chapter extends the concepts of shell programming introduced in Chapter 10 into more advanced areas, including more information on the locality of variables, recursion, and the coprocess.

The vi Editor

The screen-oriented vi editor, which was originally a part of Berkeley UNIX is still one of the most widely used text editors. Chapter 8 continues from the introduction in Chapter 2 and goes on to explain how to use many of the advanced features of vi, including special characters in search strings, the general-purpose and named buffers, parameters, markers, and executing commands from vi. The chapter concludes with a summary of vi commands.

The emacs Editor

Produced and distributed (for minimal cost) by the Free Software Foundation, the emacs editor has grown in popularity and is now available on many UNIX machines. Chapter 9 explains how to use many of the features of this versatile editor, from a basic orientation to the use of the META, ALT, and ESCAPE keys; key bindings, buffers, the concept of Point, the cursor, Mark, and Region, incremental and complete searching for both character strings and regular expressions; using the on-line help facilities, cutting and pasting, using multiple windows; and C Mode, which is designed to aid a programmer in writing and debugging C code. The chapter concludes with a summary of emacs commands.

Job Control

The job control commands, which originated on Berkeley UNIX, allows a user to work on many jobs at once from a single window, and switch back and forth between the jobs as desired. On SVR4, the C Shell, Bourne Shell, and Korn Shell include support for job control.

Shell Functions

A new feature of the Bourne and Korn Shells, shell functions, enables users to write their own commands that are similar to the aliases provided by the C Shell, only more powerful.

Source Code Management: SCCS and RCS

The Source Code Control System (SCCS) and Revision Control System (RCS) are convenient sets of tools that enable programmers to track multiple versions of files on a number of different types of projects.

POSIX

The IEEE POSIX committees have developed standards for programming and user interfaces based on historical UNIX practice, and new standards are under development. Appendix C describes these standards and their direction and effect on the UNIX industry.

Part I and Part II

UNIX System V: A Practical Guide shows you how to use the UNIX system from your terminal. Part I comprises the first fourteen chapters, which contains step-by-step tutorials covering the most important aspects of the UNIX operating system. (If you have used a UNIX system before, you may want to skim over Chapters 2 and 3.) The more advanced material in each chapter is presented in sections marked "Optional," which you are encouraged to return to after mastering the more basic material presented in the chapter. Review exercises are included at the end of each chapter for readers who want to hone their skills. Some of the exercises test the reader's understanding of material covered in the chapter, while others challenge the reader to go beyond the material presented to develop a more thorough understanding.

Part II offers a comprehensive, detailed reference to the major UNIX utilities, with numerous examples. If you are already familiar with the UNIX system, this part of the book will be a valuable, easy-to-use reference. If you are not an experienced user, you will find Part II a useful supplement while you are mastering the tutorials in Part I.

Organizing Information

In Chapters 2, 3, and 4, you will learn how to create, delete, copy, move and search for information using your system. You will also learn how to use the UNIX system file structure to organize the information you store on your computer.

Electronic Mail and Telecommunications

Chapters 2 and 3 and Part II include information on how to use the UNIX system utilities (malix, talk, and write) to communicate with users on your system and other systems. Chapter 7 details how to address electronic mail to users on remote, networked systems.

Using the Shell

In Chapter 5 you will learn how to redirect output from a program to the printer, to your terminal, or to a file--just by changing a command. You will also see how you can use pipes to combine UNIX utilities to solve problems right from the command line.

Shell Programming

Once you have mastered the basics of the UNIX system, you can use your knowledge to build more complex and specialized programs (shell scripts), using a shell programming language. Chapter 10 shows you how to use the Bourne Shell to write your own scripts composed of UNIX system commands. Chapter 11 covers the C Shell. Chapter 12 covers the Korn Shell, which combines many of the popular features of the C Shell (such as history and aliases) with a programming language similar to that of the Bourne Shell. This chapter also covers many concepts of advanced shell programming. The examples in Part II also demonstrate many features of the UNIX utilities that you can use in shell scripts.

Using Programming Tools

Chapter 13 introduces you to the C compiler and the UNIX system's exceptional programming environment. This chapter describes how to use some of the most useful software development tools: make, the Source Code Control System (SCCS), and the Revision Control System (RCS). The make utility automates much of the drudgery involved in ensuring that a program you compile contains the latest versions of all program modules. SCCS and RCS help you to track the versins of files involved in a project.

System Administration

Chapter 14 explains the inner workings of the UNIX system. It details the responsibilities of the superuser and explains how to bring up and shut down a UNIX system, add users to the system, back up files, set up new devices, check the integrity of a filesystem, and more. This chapter goes into detail about the structure of a filesystem and explains what administrative information is kept in the various files.

Using UNIX Utilities

The UNIX system includes hundreds of utilities. Part II contains extensive examples of how to use many of these utilities to solve problems without resorting to programming in C (or another language). The example sections of awk (over 20 pages, starting on page 447), and sort (page 603), give real-life examples that demonstrate how to use these utilities alone and with other utilities to generate reports, summarize data, and extract information.

Regular Expressions

Many UNIX utilities allow you to use regular expressions to make you job easier. Appendix A explains how to use regular expressions, so that you can take advantage of some of the hidden power of your UNIX system.

Perspective

This book is now in its third edition. Over ten years ago when I went peddling my UNIX manuscript, most publishers were polite, but I had the feeling that they had a good chuckle when I left after trying to explain what UNIX was, and how it was going to catch on. UNIX? Never heard of it.

Silicon Valley was hot, the Santa Cruz Operation was starting to sell Xenix, which was Microsoft's version of UNIX, and I worked for Cromemco, a small microprocessor manufacturer. Those were the days of the Z-80 and 8086 chips; 16KB was a lot of memory, and a 10MB hard disk was really special. CP/M was the operating system, and Osborne made a splash with its "portable" computer. UNIX really didn't fit in.

At that time I chose some names to use throughout the book--notably those of my 15-year-old nephew Alex and his younger sister, Jenny. Cute. Now Jenny has a son, and Alex helped me work on this edition of the book (he did the illustrations using FrameMaker).

In producing the first edition of the book, I used Cromemco's text editor. I had limited, 1200-baud dial-up access to a UNIX system--an Onyx machine (the first commercial attempt at a UNIX box) at RDS (later to become Informix). I was bold enough to send the files from my computer to the typesetter via a modem--we had no common medium for exchanging information. Translation from my text files into galleys was marginal at best.

I wrote the second edition on a 386-based computer running UNIX. I used vi and troff for editing and formatting, a 300 dpi PostScript printer for proofing, generating final output on a Linotronic phototypesetter. Illustrations were hand-drawn, and photos were stripped in at the printer's.

For this edition I decided it was time to join the real world: desktop publishing, scanning, and so on. Although many people said it would be easier to use a Macintosh, I wanted to see if UNIX had matured to the point where I could produce a what-you-see-is-what-you-get book on a UNIX machine. It almost has. I chose to use a Mac for scanning, but that is all. And I access the Mac over a TCP/IP network as a window in a graphical user interface on my X terminal. Now I use an 80486-based computer running Santa Cruz Operation's Open Desktop. A 1,000-megabyte hard disk is no big deal--almost as small as a deck of cards. Screen shots are mostly dumps (using xwd) of X windows. Illustrations and all text were produced using FrameMaker. On my screen I saw what I was going to get before I ever put a piece of paper in the printer. Proofing was still done on a PostScript laser printer (now at 600 dpi), and I used an 88MB Syquest removable hard disk to ship the PostScript file to the printer. The printer took the file and produced negatives, eliminating the paste-up and camera-ready-copy stages of book production.

I miss writing and debugging troff macros. Somehow that seemed real--you didn't just click on a button that said "superscript" to get a superscript--you had to tell troff how high up to raise the type with a series of arcane commands. Osanna's troff manual is a work of art --so dense that even years after reading it for the first time, I could still find new information in it. Quite a challenge and obviously not suitable for most commercial offices. I still use vi for writing code. It, too, is dense--even after more than ten years I still learn a new command every once in a while.

Thanks

As times have changed, so the book and the way it is produced have changed. Many people have helped write, edit, proof, and produce this, the third edition of UNIX System V: A Practical Guide.

First, a big THANKS to my Production Editor at B/C, Teri Holden, for her gentle yet firm hand in dealing with major procrastination, for her continued support and understanding, and for her being there during the hard part. My Editor, Carter Shanklin, also gets a big Thank You for standing behind the project even when things looked pretty dim. Unfortunately, he is the one who takes the flak from both sides, so here's a little de-flakking: Carter, I wouldn't have finished the project without your help and support. Thanks to the many others at B/C who remain mostly invisible to me, but who are an integral part of this project.

Pat Parseghian researched, wrote, analyzed reviews, and coordinated all of the efforts that went into this edition. From her large-scale system-administration experience at Princeton and her interest in data networks, she brings a breadth to this book that ties together in the technobabble of computers and their use in the real world. Pat is responsible for much of the work on the Networking and GUI chapters.

Thanks to the Texan, JFP (Dr. John Frank Peters), for his many hours on the emacs chapter. His understanding of this editor gives this chapter a depth and breadth that makes you want to dive right in. Fred Zlotnick, author of The POSIX.1 Standard, did a lot of work on the Korn Shell chapter and the POSIX appendix.

Also, many thanks to those whose time and energy went into improving the quality of the third edition through the process of review: Arnold Robbins, Georgia Tech. University (Ksh & POSIX); Behrouz Forouzan, DeAnza College (Ksh & GUI); Mike Keenan, Virginia Polytechnic Institute and State University (GUI); Mike Johnson, Oregon State University (GUI); Jandelyn Plane, University of Maryland (Networking & emacs); Sathis Memon, Georgia Tech. University (Networking); Cliff Shaffer, Virginia Polytechnic Institute and State University (emacs); and Steven Stepanek, California State University, Northridge.

I continue to be grateful to the many people who helped with the first and second editions. This book would not have been possible without the help and support of everyone at Informix Software, Inc. Special thanks to Roger Sippl, Laura King, and Roy Harrington for introducing me to the UNIX system. My mother, Dr. Helen Sobell, provided invaluable comments on the manuscript at several junctures.

Isaac Rabinovitch provided a very thorough review of the system administration chapter. Prof. Raphael Finkel and Prof. Randolph Bentson each reviewed the manuscript several times, making many significant improvements. Bob Greenberg, Prof. Udo Pooch, Judy Ross, and Dr. Robert Veroff also reviewed the manuscript and made useful suggestions. In addition, the following people provided critical reviews and were generally helpful during the long haul: Dr. Mike Denny, Joe DiMartino, Dr. John Mashey, Diane Schulz, Robert Jung, and Charles Whitaker.

I am also deeply indebted to many people whose help with different parts of the revision process greatly improved the second edition. Darlene Hawkins and Diane Blass handled countless administrative details. Numerous people helped by providing technical information about the UNIX system: Don Cragun, Brian Dougherty, Dr. Robert Fish, Guy Harris, Ping Liao, Gary Lindgren, Dr. Jarrett Rosenberg, Dr. Peter Smith, Bill Weber, Mike Bianchi, and Scooter Morris. Brian Reid provided the USENET map of site locations and news exchange paths shown on page 9. Clarke Echols, Oliver Grillmeyer, and Dr. Stephen Wampler reviewed a draft of the manuscript.

Dr. David Korn and Dr. Scott Weikart's reviews of the Bourne Shell chapter and the original Korn Shell appendix caused me to step back and rethink my approach to shell programming, and finally to make significant revisions, particularly to Chapter 10.

Dr. Brian Kernighan and Rob Pike graciously allowed me to reprint the bundle script from their book, "The UNIX Programming Environment," and Dr. Richard Curtis provided several other shell scripts used in Chapter 10.

Dr. Kathleen Hemenway researched, wrote, analyzed reviews, and generally coordinated all the efforts that went into the second edition. From her work on the UNIX system at Bell Labs and her teaching experience, she brought a breadth to this book that greatly increases its value as a learning tool. Of course I must take responsibility for any errors or omissions. If you find one, or just have a comment, let me know (at sobell!mark@igc.org or c/o the publisher), and I'll fix it in the next printing.

Finally, I must also thank the black cat without a tail who harassed me during the preparation of the initial manuscript and who is now sitting upstairs somewhere laughing at us mortals who work all day in front of CRTs instead of stretching out in the sun. This book is for you too, Odie.

Mark G. Sobell
Menlo Park, California



0805375686P04062001

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020