LINUX & UNIX Programming Tools: A Primer for Software Developers / Edition 1

Paperback (Print)
Rent from
(Save 75%)
Est. Return Date: 07/03/2015
Buy Used
Buy Used from
(Save 41%)
Item is in good condition but packaging may have signs of shelf wear/aging or torn packaging.
Condition: Used – Good details
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 98%)
Other sellers (Paperback)
  • All (20) from $1.99   
  • New (6) from $26.36   
  • Used (14) from $1.99   


This book approaches the LINUX environment as a programming companion. No previous exposure to LINUX is necessary to utilize this text. Initially, commands and utilities are reviewed, then the focus shifts toward systematically describing those software tools available to a LINUX programmer. For software practitioners interested in brushing up on basic Linux knowledge or for those learning it for the first time.@ISBN = 0-201-77345-7@MAINCAT = UNIX@SUBCAT = UNIX@DATALINE1 = 2003, 250 pages, 7 3/8 x 9 1/8@DATALINE2 = Paperback, $40.00k

Read More Show Less

Product Details

  • ISBN-13: 9780201773453
  • Publisher: Pearson
  • Publication date: 12/3/2002
  • Edition description: New Edition
  • Edition number: 1
  • Pages: 250
  • Product dimensions: 7.30 (w) x 9.10 (h) x 0.90 (d)

Table of Contents

(Each Chapter ends with a Summary and Questions and Problems Section).


1. Fundamentals.


Logging On and Logging Off.

LINUX Shells.

Some Important System Setups.

Some Useful General-Purpose Commands for the Beginner.

2. File System Structure and File Processing.


Files in LINUX.

File System Structure.

File System Structure.

Home and Present Working Directories.

Pathnames: Absolute and Relative.

Some Standard Directories and Files.

Directory Operations and Browsing the File System Structure.

Creating and Removing Directories (mkdir, rmdir, rm -r).

Moving and Copying Directories (mv, cp -r).

Browsing the File System Structure and Listing Directories (cd, ls).

File Processing.

Creating files (vi, emacs, pico).

Displaying File Type and Type of Data in a File (ls -l, file).

Viewing Complete Files (cat).

Viewing Files One Page at a Time (more, less).

Viewing the Head or Tail of a File (head, tail).

Displaying the NIS Database (ypcat).

Copying Files (cp).

Moving Files (mv).

Removing/Deleting files (rm).

Determining File Size (ls -l, wc).

Appending to Files (cat 〉〉).

Comparing files (diff).

Compressing Files (gzip, gunzip, gzexe, zcat).

3. Input, Output, and Error Redirection.


Standard Files, File Descriptors, and Redirection of Standard Files.

Input, Ourput, and Error Redirection.

Input Redirection (〈, 0〈).

Output Redirection (〉, 1〉).

Error Redirection (2〉).

Redirecting stdin, stdout, and stderr in One Command.

Appending Data to a File (〉〉).

LINUX Filters and Pipes.

Redirection and Piping Combined.

The tee utility.

4. Printer Control.


LINUX Mechanism for Printing Files.

Printer Control Commands (lpr, lpq, lprm, lpc, lptest).

Printing Files (lpr).

Finding the Status of a Print Request (lpq).

Canceling Print Jobs (lprm).

Controlling Printers (lpc).

5. File Security.


File Protection Based on Access Permission (mail, pine).

Types of Users.

Types of File Operations/Access Permissions.

Determining Files Access Privileges (ls -l, ls -ld).

Changing File Access Privileges (chmod).

Default File Access Privileges (umask).

6. LINUX Processes.


Processes, Jobs, and Daemons.

Process and Job Control and Process Control.

Displaying Process Attributes (ps).

Real-Time Monitoring of the CPU Activity (top).

Foreground, Background, and Suspended Processes (&, fg, bg, 〈Ctrl-Z〉).

Displaying Jobs (jobs).

Suspending and Resuming a Shell Process (suspend).

Running Commands Sequentially and Simultaneously (;, &).

Abnormal Termination of Commands and Processes (〈Ctrl-C〉, kill).

Process Hierarchy in LINUX (pstree).

Displaying Process and File Attributes in LINUX (limit, ulimit).

7. File System Backup.


Archiving and Restoring Files Via tar.

Archiving Files (tar cvf).

Restoring Archived Files.

Complete Restoration (tar xvf).

Partial Restoration.

Copying Directory Hierarchies.


8. Program Development Process.


An Overview of Computer Programming Languages.

The Compilation Process.

The Interpretation Process.

Compiling C, C++, and Java Programs.

The Software Engineering Lifecycle.

9. Program Generation Tools.


Generating Program Source Files.

Indenting Source Code.

Compiling C/C++ Programs.

Dealing with Multiple Source Files.

Linking Libraries.

Optimizing Executable Code.

Defining Macros at Command Line.

Turning off Compilation, Assembly, or Linking Phase.

Compiling Java Programs.

10. Handling Multi-Module Software.


The make Utility.

Makefile and Make Rules.

Multi-module Software, Dependency Trees, and make.

Suffix (Default) Rules.

Macro Support of the make Utility.

Built-in Macros.

Dummy Targets.

Special Targets.

Common Syntax Errors and Their Cure.

Command-line Usage and Debugging.

11. Developing and Using Libraries.


The ar Utility.

Creating an Archive.

Displaying the Table of Contents.

Deleting Object Modules from an Archive.

Extracting Object Modules from an Archive.

Ordering Archives.

The nm Utility.

Displaying Symbol Table Information.

12. Source Code Debugging.


Source Code Debugging.

The Debug Process.

Various Debugging Approaches.

The GNU gdb Debugger.

Using gdb with C or C++ Programs.

Starting gdb.

Executing a Program Inside gdb.

Tracing Program Execution.

Setting Breakpoints.

Single Stepping through Your Program.

Printing Values of Variables and Expressions.

Listing Program Code.

Examining Function Call Stack.

Fixing the Bug.

Quitting gdb.

Debugging a Crashed Program with “core” File.

Debugging a Process.

Debugging Java Programs with gdb.

Using gdb Under emacs.

13. Software Profiling and Metrics.


Software Profiling.

Profiling with gprof.

Measuring Source Code Metrics.

Measuring Lines of Code (wc).

Measuring the Size of Executable Code (ls -l).

Measuring the running time of a program with the time command.

14. Version Control.


What is Version Control.

The Revision Control System (RCS).

Working with RCS.

Creating an RCS History File.

Checking out an RCS File.

Creating a New Version of a File.

Checking out Copies of Specific Versions.

Abandoning Changes.

Locking a File Without Overwriting (Take Care of a Mistake).

Removing a Version.

Working in Groups.

Displaying the History of RCS Files.

Breaking Locks.

Displaying Differences Between Versions.

Merging Versions.

Limiting Access Rights to RCS.

RCS Special Character Sequences.

Miscellaneous RCS Utilities.

Using RCS from Within emacs.

Beyond RCS.

Concurrent Versions System (CVS).

CVS Command Syntax.

Displaying CVS Help.

Creating a Source Repository.

Importing Sources into the Repository.

Checking Out Source Files.

Making and Committing Changes to Source Files.

Adding New Files and Directories to the Source Repository.

Removing Files and Directories from the Source Repository.

Freezing and Extracting a Version.

Displaying Differences.

Displaying the Log History.

CVS Special Character Sequences.

After Work Cleanup.

Remote Repositories and Accessing Them Through Client.

Using CVS Under emacs.

Important Aspects of CVS.

Obtaining and Installing CVS.

Appendix A: Editing Text Files with Vi and Pico.

Appendix B: Electronic Mail.

Appendix C: Glossary.


Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)