Home > Store

Linux Book, The

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

Linux Book, The

Book

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

About

Features

  • Practical uses for LINUX—Includes chapter-length cost-benefit analysis for why an organizations should consider Linux.
  • Basic system administration tasks—Covers installation, configuration, file and directory management, user access, and system integration.
  • Advanced topics for more depth—LINUX systems tools, network management, shell scripting, backup & restore, the LINUX kernal.

Description

  • Copyright 2001
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-032765-4
  • ISBN-13: 978-0-13-032765-9

If you're new to Linux, it can be a real challenge to find the right Linux book: they either cover the wrong distribution, or are too technical, or conversely, too superficial. The Linux Book offers the perfect balance: all the information you need to install, configure, maintain, and network a Linux system without having your intelligence insulted or wading through thousands of pages of unnecessary technical gibberish. Leading Linux expert David Elboth starts with a practical introduction to Linux concepts and installation, then helps you master every key concept and task associated with running Linux. You'll find coverage of Linux files, directories, and file systems; passwords and user access; running the X Window system; Linux processes; printing; tools; integrating DOS, Windows, and Macintosh systems; shell scripting; system commands, backup and restore, kernels, network communications, and more. The book also offers a chapter-length cost-benefit analysis for organizations considering Linux. For every beginning-to-intermediate-level Linux user or system administrator seeking a complete guide to Linux setup, installation, configuration, and administration.

Sample Content

Downloadable Sample Chapter

Click here for a sample chapter for this book: 0130327654.pdf

Table of Contents



Foreword.


1. The Linux Book.

Using Linux. Try and fail. Explanations in this book. Linux and GNU.



2. The Operating System.

The Linux operating system. A multi-user operating system. Concepts and technology. Linux and architecture support. The Linux kernel. The Linux shell. Utilities. How to use Linux commands. Pipes, filters, and redirections. Editing text. The system administrator, or root.



3. Installation.

Introduction. Preparing to install Linux. Installation overview. Linux and the keyboard. Different installation methods. Installation disk or CD. CD auto-boot from DOS. Selecting the language and character set. Configuring the mouse. Installation classes. Defining filesystems. Format and partitions. Installing LILO. Network configuration. Setting up TCP/IP. Configuring the time zone. Defining the root password. Defining authentication. Selecting Linux components. Configuring the X window system. Installing packages. Linux boot floppy disk. Finishing the installation. After the installation. Removing Linux.



4. Linux Work Session.

After the installation. Username and password. Logging in. Linux help functions. A work session in Linux. Logging out from Linux. Taking the Linux system down. Exercises for Chapter 4.



5. Information from the Linux System.

Commands that gather information. Calendar - cal. Echo to the screen - echo. List files - ls. Date and time - date. Who is logged in?-who. Who am I?-whoami. User information - finger. Determine current file type - file. Terminal name - tty. Disk space usage - du. Linux version/name - uname. Exercises for Chapter 5.



6. File Management.

File manager. Linux filenames. Linux file types. Access to files and directories. Print files to the screen - cat. Copy files - cp. Move/change filenames - mv. Delete files and directories - rm. Assign multiple filenames - ln. Exercises for Chapter 6.



7. Directories and Filesystems.

Introduction. Directories and filesystems. Inodes. The physical filesystem. Different filesystems. Directory structure in the filesystem. Linux file types. Working directory - pwd. Change directory Ð cd. Make directory Ð mkdir. Remove directory Ð rmdir. Free space per filesystem Ð df. Exercises for Chapter 7.



8. Passwords and Access Permissions.

Introduction. Changing the Linux password. Change the active user-id Ð su. Linux access codes. Change access codes Ð chmod. Change owner Ð chown. Change group ID Ð chgrp. Change active group Ð newgrp. Default permission Ð umask. Exercises for Chapter 8.



9. Redirection and Pipes under Linux.

The Linux shell. Standard input, output, and error. Output redirection Ð >. Input Redirection - <. Adding to a file - >>. Redirection and error messages. Redirection in tcsh shell. Combining several commands - pipes. Exercises for Chapter 9.



10. X Window.

X Window. Configuring X. Starting X. GNOME or KDE user interface. GNOME with Red Hat Linux. From GNOME to KDE. Changing the window manager in GNOME. GNOME/KDE Control center. Using a mouse with GNOME/KDE. The XFCE3 alternative. Standard X applications. X games. X commands. Starting gdm. D acceleration and Linux. X Window references. Exercises for Chapter 10.



11. Linux Processes.

Parent and child processes. Foreground and background processes. Display process table Ð ps. Continue processes after logout Ð nohup. Stop a process Ð kill. Change priority of processes Ð nice. Determine time used on process Ð time. Schedule work Ð crontab. Exercises for Chapter 11.



12. Linux and Editors.

Text editor or word processor? The vi editor. Write a text file. Start vi. Move the cursor in a text file. Commands for positioning within a file. Commands for adjusting the screen. Commands for yank and put. Commands for deleting text. Command for undelete text. Write more text. Move text. Copy text. Search for text. Search and replace. Read and write a file. Print. Macro definitions. Set parameters. Exercises for Chapter 12.



13. Linux Tools 13.1 The Linux shell.

Display file contents Ð more. Display file contents Ð less. Sort data Ð sort. Find character data Ð grep. Find files Ð find. Cut data in a file Ð cut. Paste data in a file Ð paste. Remove duplicate lines of text Ð uniq. Convert text Ð tr. Format page Ð pr. Packing data and programs. Exercises for Chapter 13.



14. Printing from Linux.

Linux and printing. The Linux spooling system. Defining a printer queue. Key files. Print access and disk use. Remote print to a Unix queue. Control printer Ð lpc. Start/stop the spooling system Ð lpd. Remove a spool lock. Print Ð lpr. Check a printer queue Ð lpq. Cancel a print job Ð lprm. Exercises for Chapter 14.



15. Integration with DOS, Windows, and Mac.

Tools for accessing MS-DOS filesystems. Mounting MS-DOS filesystems. Accessing MS-DOS volumes (partitions). Change directory Ð mcd. Copy files Ð mcopy. Delete files Ð mdel. Show Directory information Ð mdir. Display information about boot sector Ð minfo. Make MS-DOS directories Ð mmd. File to screen Ð mtype. Different Mtools. Accessing Mac volumes. Mount Mac volumes Ð hmount. Unmount Mac volumes Ð hunmount. Different ÒhÓ commands Ð HFS. MS-DOS and Windows emulators. Exercises for Chapter 15.



16. Bash Shell Programming.

Command files. Making simple command files. Variables. Handling screen output. Conditional commands. More commands. Functions and procedures. The shell environment. Bash script. Exercises for Chapter 16.



17. Booting the Linux System.

Booting Linux from a PC. Booting Windows 98. Booting Unix and Linux. System file /etc/inittab. Terminal file /etc/termcap. Communication file /etc/gettydefs. Exercises for Chapter 17.



18. Logging into the Linux System.

Logging procedures. The /etc/passwd file. Bash shell. User system files. Ending a terminal session. Exercises for Chapter 18.



19. Linux System Commands.

Introduction. Linux key files. Setup devices and system definitions. Defining users. User administration Ð useradd. Group administration Ð groupadd. Check filesystems Ð fsck. Make filesystems Ð mke2fs. Mount filesystems Ð (u)mount. Taking the Linux system down. Fast reboot Ð reboot. Normal shutdown Ð shutdown. Process control initialization Ð init. Configure services Ð ntsysv. Installation packages Ð rpm. Compiling source code. Installation example. Terminal parameters Ð stty. Linux and national character sets. Exercises for Chapter 19.



20. Backup/Restore and Media under Linux.

Introduction. Format and device drivers. Formatting floppies Ð fdformat. Archive and restore files Ð tar. Backing up data with cpio Ð cpio. Converting and copying data Ð dd. Menu program for backup Ð taper. Other backup programs. X Window and backup Ð BRU. Exercises for Chapter 20.



21. Linux Ð Logs and Kernel.

Introduction. System messages. Active system parameters. Process accounting - accton. Summarize accounting information Ð sa. User terminal data Ð ac. Display Status of CPU processes Ð top. Make your own Linux kernel. Tuning the hard disk drive. Exercises for Chapter 21.



22. Network Communication.

Introduction. TCP/IP Ð the networking glue. The phrase ÒInternetÓ. Protocols. TCP/IP configuration files. Connecting via modem. Connecting via ISDN. Start/stop scripts. Security. Using a browser. Contact Ð ping. Terminal emulation Ð telnet. Transfer files Ð ftp. Run remote programs Ð rsh. Remote copy Ð rcp. Remote login Ð rlogin. Trace package Ð traceroute. TCP/IP traffic Ð tcpdump. Anonymous FTP server. Other TCP/IP programs. Exercises for Chapter 22.



23. Messages.

Introduction. Internal communication Ð write. Message to all Ð wall. Permission to receive message Ð mesg. External communication Ð talk. Electronic mail. E-mail Ð mail. Sendmail and references. News from the news server Ð tin. Using a fax. Exercises for Chapter 23.



24. File Services with NFS and Samba.

Introduction. What is Samba? Installing Samba. Configuring Samba. Setting global parameters. The [homes] section. Sharing a Linux disk. Printing Windows - Linux. Linux clients Ð SMB servers. Mounting Windows folders. Printing Linux - Windows. Testing a configuration. Samba references. What is NFS? Installing NFS. Defining an NFS server. Defining NFS clients. NFS mounting options. NFS and asynchronous connections. Optimizing NFS. NFS and poor bandwidth. Exporting NFS (Unix). Security and NFS. NFS references. Exercises for Chapter 24.



25. Cost/BenefitAnalysis.

Introduction. Protect your investments. Differences between Open Source Linux and Windows. MicrosoftÕs license policy. Cost differences.



26. Open Source/Linux Information.

Information through the Internet. Web (http) resources. DistributorsÕ web resources. Linux on a laptop. FTP resources. Linux tools and applications. Linux Internet publications. Linux newsgroups. Electronic documentation.



Index.

Preface

Foreword

This book will serve both as an introduction for newcomers to Linux and as a reference for professionals. The book starts with the basics and goes through the most important Linux commands. If you are an IT manager wondering if Linux would make a good client or server operating system for your company, you will find it very valuable to read Chapter 25, "Cost/Benefit Analysis."

I started with Unix 15 years ago and have written three books on UNIX3: UNIX: From User to System Administrator, UNIX: An Introduction, and UNIX Commands by Example: A Desktop Reference for Solaris, UnixWare, and SCO UNIX. In the past four years, I have also written two books on Linux: Linux Installation and Configuration, and Introduction to Red Hat Linux 7.0.

I was first introduced to UNIX in 1985, when the operating system was called Microsoft XENIX (a UNIX clone). At that time the machine hardware was based on a PC with a 4.77 MHz Intel CPU, 640 KB RAM, and a 10-MB hard disk. Later I worked with both BSD and System V-based solutions like SCO XENIX, SCO UNIX, ISC UNIX, Novell UnixWare, Solaris 1.x, Solaris 2.x, IBM AIX, SCO UnixWare, NCR Unix V.4, and of course, Linux.

Early in 1997 I started working on an Intranet/WEB-development project for a Norwegian company called Telenor Marlink. In this project, the development platform was based on Sunsoft Solaris 2.5. A colleague named Knut Ranheim was also working on this project and wanted us to use Linux and PC hardware as the workstation platform. Since then I have been hooked on the Open Source model and Linux.

Today, I work as a project leader for different Linux software projects. In my part time, I am Contributing Editor for the Norwegian Linux magazine, Open Source Linux Magazine. I also write books and am a well-known lecturer. If you would like to know what I use Linux for, check my homepage: http://home.c2i.net/delboth

— David Elboth

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