Home > Store

LPIC I Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102

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

LPIC I Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102

Book

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

About

Features

  • Thorough coverage—Covers every LPIC Exam 101 and 102 objective, including installation, shells, hardware, partitioning, file systems, Xfree86, text processing, package installation, booting, users/groups, administration, kernels, scripting, networking, printing, security, and more.
    • Offers students a single source for concise review of every topic they need to master in order to pass both LPIC exams and achieve certification.

  • Rapid-mastery features, outstanding pedagogy—Includes a wide range of features designed to help students pass the exam, including test-taking strategies, time-saving study tips, a complete glossary, and a Cram Sheet containing tips, acronyms, and memory joggers.
    • Helps students make the most of their study time and make absolutely sure they understand the concepts that matter most.

Description

  • Copyright 2005
  • Edition: 1st
  • Book
  • ISBN-10: 0-7897-3127-4
  • ISBN-13: 978-0-7897-3127-2

The Exam Cram 2 series from Que Publishing is the smartest, most efficient way for IT professionals to pass a variety of IT exams and become certified. The growing list of certifications covered by Exam Cram 2 now includes Linux Professional Institute Certification Exams 101 and 102. LPIC 1 Exam Cram 2 includes the most up-to-date exam information available. A CD is included and features ExamSim, an innovative exam simulator designed specifically for Linux users featuring randomly chosen questions with each practice session, Training Mode with answer button and Exam Mode with running timer. LPIC 1 Exam Cram 2 is a winning strategy to help you pass the exam the first time.

Extras

Related Article

Linux Certification Roundup

Sample Content

Online Sample Chapters

Basic vi Skills

Basic vi Skills for the Linux LPIC Exams

Table of Contents

Introduction.

Self-Assessment.

I. LPIC Exam.

1. Linux Installation.

    Linux Distributions.

    LPI Certification and Distributions.

      Which Version of Red Hat and Debian to Use?

    Preparing Hardware for Installation.

      Problem Peripherals.

       Resolving Conflicts.

    Viewing Configuration Addresses.

    Partitioning Disks.

      Performance.

      Integrity.

      Backup.

      Security.

      Understanding Partition Limitations.

      Partitioning Applications.

    Red Hat Installation Console Options.

    Creating Installation Disks.

    Boot Loaders.

      LILO–The Linux Loader.

      Grand Unified Boot Loader.

    Viewing Boot Messages.

    Exam Prep Questions.

2. Using the Linux Shell.

    Understanding Shells.

    Global and User Settings.

      A Login Shell Session.

      A Non-Login Shell Session.

    Using the Command Line.

      Structuring Commands.

      Breaking Long Command Lines.

    Command Completion.

    Special Characters in the Shell.

    Controlling Command Execution.

       Possible Exit Statuses.

      Executing Multiple Commands.

    The Readline Library.

      Command Substitution.

    bash’s History Feature.

      Important History Variables.

      The fc Command.

    Environment Variables and Settings.

      The Path.

    Getting $HOME.

    Configuring Prompts.

      Configuring the Prompt Step by Step.

    Setting Options in bash.

      Important bash Options.

    Job Control.

      Elements of Job Control.

    Managing Processes.

      Sending Signals to Processes.

     Managing Process Priorities.

    Exam Prep Questions.

3. Basic vi Skills.

    Editors.

    Modes in vi.

    Editing in vi.

      The Message Line.

    Opening a File for Editing.

    Navigating Within a File.

      Force Multipliers.

      Undo Operations.

    Quitting Files.

    Saving Files.

    Command Mode Editing.

      Inserting and Adding Text.

      Changing or Replacing Text.

      Deleting Text and Lines.

    The Cut, Copy, and Paste Commands.

    Named and Unnamed Buffers.

    Searching in vi.

    Searching and Replacing.

      Fuzzy Searches.

    Options in vi.

    Advanced vi.

      Running External Commands in vi.

      Joining Lines.

      Split Windows.

    Exam Prep Questions.

4. Hardware.

    Hardware.

      IRQs and Ports.

      Printer Ports.

    Modems.

      UARTs.

      Using the setserial Command.

    Ethernet/NIC Devices.

      Configuring NICs.

      The ARP Cache.

    Point to Point Protocol.

      Using Chat to Connect.

      The PPP Daemon.

      Authentication Options.

    Plug and Play.

      PnP Tools.

    Configuring Sound and Time.

      Local System Time.

      The date Command.

      The hwclock Command.

    USB Devices.

      Controller Types.

      USB Devices and Linux.

      USB and Storage Devices.

      Using usbmgr.

      USB Devices and Drivers.

    Setting Up SCSI.

    Exam Prep Questions.

5. Partitioning and File Systems.

    Overview.

    Partitions.

      Swap.

      Drive Partitioning Schemes.

    Disk Partitioning Tools.

      fdisk.

      DiskDruid.

      cfdisk.

    Overview of File Systems.

      Superblocks.

      Inodes and Files.

      Inodes and Disk Space.

    File System Types.

    Creating File Systems.

      The mkfs Command.

      File System Creation Options.

    Advanced File System Commands.

       File System Checker.

      Tuning File Systems.

      Debugging File Systems.

    Mounting and Unmounting.

      The File System Table.

      Manually Mounting File Systems.

      Automatically Mounting File Systems.

      Unmounting File Systems.

    Space Utilization.

      Using du.

      Using df.

    Exam Prep Questions.

6. File Systems and Commands.

    File System Overview .

    What Belongs Where.

      The Root of the System.

      Oddities in the FHS.

      Where Programs Live.

    File Management Commands.

      Tips for Working with Linux Files.

    Basic Navigation.

      Advanced Navigation.

    Listing Files and Directories.

    Determining File Types.

    Touching Files.

      Copying Files and Directories.

    Moving Objects.

    Transforming Data Formats.

    Creating and Removing Directories.

      Removing Objects.

    Where Are Those Files?

      Locating Files with locate.

      Finding Files.

    Which Command Will Run?

    Researching a Command.

    Linking Files.

      Symbolic Links.

      Hard Links.

    Working with Permissions.

      Permission Trio Bits.

      Manipulating Permissions.

    User and Group Ownership.

      Changing Ownership.

      Changing Group Ownership.

      Special File Permissions.

      Finding Files by Permission.

      Default Permissions.

    Using Disk Quotas.

      Quota Commands and Files.

      Quota Concepts.

      Configuring Quotas.

      Hard and Soft Limits.

      Setting the Grace Period.

      Getting Quota Information.

    File Attributes.

     Exam Prep Questions.

7. XFree86 Configuration and Troubleshooting.

    Quick Overview of X.

      How X Works.

      Window Managers 

      Linux Desktops.

    The XFree86 System.

      Installing XFree86.

      XFree86 Versions.

      The XFree86 Configuration File.

      Important XF86Config Sections.

      Configuring xf86config.

      Starting X.

      X Customization Files.

    Fonts in X.

    X Display Manager.

    Tuning X.

    Into and Out of X.

    Remote Clients.

    Displaying X Clients.

    Exam Prep Questions.

8. Text Processing.

    Unix/Linux Toolset Mentality.

    Working with I/O Streams.

      Redirection of Streams.

      Redirecting Standard Input.

      Redirecting Standard Output.

      Redirecting Standard Error.

      Redirection Redux.

    Pipes.

    Filters.

      Sorting.

      Numbering Lines.

    Counting.

      Tabs.

      Cutting Columns.

      Pasting and Joining.

      Unique Data.

      Heads or Tails?

      Splitting Files.

      When cat Goes Backward.

      Viewing Binary Files Safely.

    Formatting Commands.

    Translating Files.

    He sed, She sed.

    Getting a grep.

      Examples of Using grep.

      Using Regular Expressions and grep.

    Exam Prep Questions.

9. Software Installation.

    Important Exam Information.

    Methods of Managing Software Installation.

      Installing Software from Source.

      The Makefile.

      Example of a Compilation of Source Code.

    Shared Libraries.

      Determining Required Libraries.

    Installing Software with Packages.

    Red Hat Package Management.

    The RPM Database.

    RPM Package Files.

      Package Name Conventions.

    The rpm Command.

      Validation of Packages.

      Installation of Packages.

      Verifying a Package’s Integrity.

      Freshening Versus Upgrading.

    Removing Packages.

    Querying Packages.

    Building RPMs.

      What Happens in a Build?

    Exam Prep Questions.

I. LPIC EXAM.

10. Linux Boot Process and Runlevels.

    The Linux Boot Process.

    Understanding Runlevels and init.

    Shutting Down a System.

    The init Process.

      The /etc/inittab File.

      Trapping Ctrl+Alt+Delete.

    The Runlevel Directories.

    Configuring the Runlevels.

    Single User Mode.

    Making Boot/Rescue Disks.

    Exam Prep Questions.

11. Using Linux and GNU Documentation.

    The man Pages.

      The man Page Sections.

      What’s in a man Page.

      Where man Pages Live.

    Using the man Command.

      man Configuration and Path.

      Action Keys in man.

      Getting More Out of man.

      whatis Apropos?

    Additional Documentation.

    Web and Third-Party Documentation.

      The Linux Documentation Project.

      Usenet Resources.

    Communicating with Users.

      The Issue Files.

      Message of the Day.

      Writing to Users.

      Talking to Users.

    Exam Prep Questions.

12. Managing Users and Groups.

    The Importance of User and Group Management.

    How the Kernel Understands Users and Groups.

    What Accounts Are What?

      Junior Sysadmins.

      Normal User Accounts.

    User Entries in /etc/passwd.

      Special Login Files.

    What Groups Are What?

    Group Entries in /etc/group.

      Group Passwords.

    Adding Users and Groups.

      Adding Users with useradd.

      The useradd Defaults.

      Adding Groups with groupadd.

    Modifying Users and Groups.

      Modifying User Accounts with usermod.

      Modifying Groups with groupmod.

    Removing Users and Groups.

      Removing Users.

      Removing Groups.

    The Shadow Suite.

      Encrypted Passwords and Shadow Fields.

      shadow File Permissions.

      Password Conversion.

      Changing Passwords.

      Aging Passwords.

    skel Templates.

    User Variables.

    Exam Prep Questions.

13. System Administration.

    Managing System Services.

      Controlling Your Daemons.

    System Logging.

      Types of Logging.

      Default System Log File.

      Facilities and Priorities.

      Putting It All Together.

      Security Log Files.

    Scheduling and Running Tasks.

      The at Command.

      The batch Command.

     Using cron to Schedule Tasks.

      cron Components.

      Managing cron’s Job Tables.

      Submitting a cron Job.

      Controlling User Access to cron.

    Archiving and Backing Up.

      Planning a Backup Scenario.

      Backup Commands.

      Using cpio.

      Using tar.

      Other Compression Utilities.

    Maintaining System Time.

      NTP Files and Programs.

    Exam Prep Questions.

14. Kernel Configuration and Custom Compilation.

    Overview of the Kernel.

    The Kernel Versions.

    Monolithic Versus Modular Kernels.

      Modules.

      Module Dependencies.

      Viewing Your Modules.

      Loading and Unloading Modules.

      Using modprobe to Manage Modules.

    Patching the Kernel.

    Using the patch Command.

    Getting Kernel Source Code.

    Configuring the Kernel.

      make menuconfig.

      make xconfig.

    Steps to Compile a Kernel.

    Exam Prep Questions.

15. Linux Shells and Scripting.

    Writing Scripts.

      Writing a Simple Script.

      Executing a Script.

      Using Positional Parameters.

      Testing for Conditions.

      Having Users Make Variables.

    Scripting Constructs.

      if/else Statements.

      The for Loop.

      while and until Statements.

    Customizing the Shell Environment.

      Execution Precedence.

    Environment Variables.

      Creating Variables.

      Exporting Variables.

      Removing Variables.

      Using Variables in Scripts.

    Quoting and Variables.

      How to Use Double Quotation Marks.

      How to Use Single Quotation Marks.

    Shell Aliases.

      How Aliases Work.

      Viewing, Setting, and Removing Aliases.

      Examples of Using Aliases.

    Shell Functions.

      How a Function Works.

      Viewing, Setting, and Removing Functions.

    Understanding Shell Levels.

    Exam Prep Questions.

16. Linux Printing.

    Linux Printing Overview.

    How lpd Printing Works.

      The Printer Capabilities File.

      Remote Printing Entries.

    Printing Command Overview.

    The lpd Daemon.

      Print Filters.

    Printing with lpr.

      lpr Command Options.

    Monitoring Print Jobs with lpq.

      lpq Command Options.

      Examples of Using lpq.

    Removing Print Jobs with lprm.

      lprm Command Options.

      Examples of Using lprm.

    Monitoring Print Jobs with lpc.

      lpc Command-Line Options.

      Internal lpc Options.

      Examples of Using lpc.

      Additional Printing Commands.

    Printer Security.

    Exam Prep Questions.

17. Basic Networking.

    Conceptual Overview of Networking.

      Necessary Configuration Information.

    IPs.

      Networks and Hosts.

      Address Class Ranges.

      Using the Bits to Determine Class.

    Network Masks.

      Using Default Network Masks.

    Gateway Addresses, or “Do I Dial 9?”.

      Broadcast Addresses.

    Custom Network Masks.

      Determining a Custom Network Mask.

      Scenario 1: Custom Subnetting from Scratch.

      Scenario 2: How Many Hosts on a Network?

    Managing Interfaces.

      Viewing IP Information.

      Red Hat Interface Configuration.

      Debian Interface Configuration.

      Viewing and Configuring Gateway Addresses.

    Local Name Configuration.

    Network Configuration Utilities.

      Network Utility Examples.

    Exam Prep Questions.

18. Network Services.

    Network Services.

    Providing Services on Demand.

      Using inetd and xinetd.

    Using TCP Wrappers for Securing Services.

      inetd and TCP Wrappers.

      xinetd and TCP Wrappers.

      The hosts.allow and hosts.deny Files.

      Format of hosts.allow and hosts.deny.

      Using Rule Options.

    sendmail, Bloody sendmail.

      sendmail Configuration Files.

      The sendmail.cf File.

      Aliasing and Forwarding Mail.

      sendmail-Related Utilities.

    Apache.

      How Apache Runs.

      Using apachectl.

      Apache Configuration Files.

      Apache Directives.

    Network File System.

      NFS Daemons.

      Exporting File Systems.

    Samba.

      Samba’s Configuration File.

      Important smb.conf Entries.

      Setting Up a Simple Samba Server.

      Samba Client Connections.

    Domain Name System.

      Components of DNS.

      Types of DNS Servers.

      The named.* Files.

      Zone and Record Types.

    Exam Prep Questions.

19. Security.

    Using TCP Wrappers to Secure a Service.

      Allow and Deny Files.

    Understanding Permission Problems.

      Finding Files by Permissions.

    Validating Package Integrity.

      Validation Methods.

    Secure Shell.

      SSH Components.

      Using SSH Client Utilities.

      Using SSH Sans Password Prompts.

    Using Firewalls for Security.

      Understanding Basic iptables.

      iptables’s Three Chains.

      Using the iptables Command.

      Configuring an iptables Chain.

    Exam Prep Questions.

20. Practice Exam 101.

21. Answer Key 101.

22. Practice Exam 102.

23. Answer Key 102.

Appendix A: Debian Package Management.

Appendix B: What’s on the CD-ROM.

Glossary.

Index.

Updates

Errata

The errata for the book is available here in Adobe Portable Document Format (PDF) format. You will need Adobe's Acrobat Reader to view these files. If you do not have the Acrobat Reader installed, you may go to Adobe Systems' web site to download this free reader.

Click on the links below to display the PDF file in a new window. Right-click on the link and select Save As if you want to download it to your hard drive.

Errata for the book - 95 kb -- 0789731274errata.pdf

CD-ROM fixes

The version of the ExamSim engine that is on the book companion CD-ROM is incorrect. Click on the links below to download the latest files.

ExamSim for Linux except for SuSE Linux 9.2 - 180 KB -- examsim-linux-1.01-setup

ExamSim for SuSE Linux 9.2 - 180 KB -- examsim-linux-1.01_syse9.2-setup

Readme for Linux - 12 KB -- README

ExamSim for Windows - 540 KB -- ExamSim-Win32-1.01-setup.exe

Readme for Windows - 12 KB -- README.txt

GTK Runtime Environment for Windows - 540 KB -- GTK-Runtime-Environment-2.2.4-3.exe

Submit Errata

More Information

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification 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 Pearson IT Certification 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 Adobe Press. 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.pearsonitcertification.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