Book description
Here are all the CompTIA Linux+/LPIC-1 Linux commands you need in one condensed, portable resource. The CompTIA Linux+/LPIC-1 Portable Command Guide is filled with valuable, easy-to-access information and is portable enough to use wherever your work takes you.
The guide summarizes all Linux+/LPIC-1 certification-level Linux commands, keywords, command arguments, and associated prompts, and provides tips and examples of how to apply them to real-world scenarios. Configuration examples throughout the book provide you with a better understanding of how these commands are used in real-world environments.
This book reflects topics in today’s CompTIA LX0-103 & LX0-104 and LPI 101-400 & 102-400 exams. Use this quick reference resource to help you memorize commands and concepts as you work to pass any of these CompTIA or LPI certification exams.
The book is organized into these parts: Exam LX0-103/LPI 101-400
Part I: System Architecture
Part II: Linux Installation and Package Management
Part III: GNU and Unix Commands
Part IV: Devices, Linux Filesystems, Filesystem Hierarchy Standard Exam LX0-104/LPI 102-400
Part V: Shells, Scripting, and Data Management
Part VI: User Interfaces and Desktops
Part VII: Administrative Tasks
Part VIII: Essential System Services
Part IX: Networking Fundamentals
Part X: Securityuick, offline access to all CompTIA
- Linux+/LPI LPIC-1 commands for research and solutions
- Logical how-to topic groupings for a one-stop resource
- Great for review before your Linux+ or LPIC-1 certification exams
- Compact size makes it easy to carry with you, wherever you go
- “Create Your Own Journal” appendix with blank, lined pages allows you to personalize the book for your needs
- “What Do You Want to Do?” chart inside front cover helps you to quickly reference specific tasks
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Contents at a Glance
- Contents
- Introduction
-
Part I: System Architecture
- CHAPTER 1 Determine and Configure Hardware Settings
- CHAPTER 2 Boot the System
-
CHAPTER 3 Change Runlevels / Boot Targets and Shut Down or Reboot System
- Set the Default Runlevel or Boot Target
- Change between Runlevels / Boot Targets, Including Single-User Mode
- Shut Down and Reboot from the Command Line
- Alert Users Before Switching Runlevels / Boot Targets or Other Major System Events
- Properly Terminate Processes
- /etc/inittab
- shutdown
- init
- /etc/init.d/
- telinit
- systemd
- systemctl
- /etc/systemd/
- /usr/lib/systemd/
- wall
-
Part II: Linux Installation and Package Management
-
CHAPTER 4 Design Hard Disk Layout
- Allocate Filesystems and Swap Space to Separate Partitions or Disks
- Tailor the Design to the Intended Use of the System
- Ensure the /boot Partition Conforms to the Hardware Architecture Requirements for Booting
- Knowledge of Basic features of LVM
- / (root) Filesystem
- /var Filesystem
- /home Filesystem
- /boot Filesystem
- Swap Space
- Mount Points
- Partitions
- CHAPTER 5 Install a Boot Manager
- CHAPTER 6 Manage Shared Libraries
-
CHAPTER 7 Use Debian Package Management
- Install, Upgrade, and Uninstall Debian Binary Packages
- Find Packages Containing Specific Files or Libraries that May or May Not Be Installed
- Obtain Package Information Such As Version, Content, Dependencies, Package Integrity, and Installation Status (Whether or Not the Package Is Installed)
- /etc/apt/sources.list
- dpkg
- dpkg-reconfigure
- apt-get
- apt-cache
- aptitude
-
CHAPTER 8 Use RPM and YUM Package Management
- Install, Reinstall, Upgrade, and Remove Packages Using RPM and YUM
- Obtain Information on RPM Packages Such As Version, Status, Dependencies, Integrity, and Signatures
- Determine What Files a Package Provides, as Well as Find Which Package a Specific File Comes From
- rpm
- rpm2cpio
- /etc/yum.conf
- /etc/yum.repos.d/
- yum
- yumdownloader
-
CHAPTER 4 Design Hard Disk Layout
-
Part III: GNU and Unix Commands
-
CHAPTER 9 Work on the Command Line
- Use Single Shell Commands and One-Line Command Sequences to Perform Basic Tasks on the Command Line
- Use and Modify the Shell Environment, Including Defining, Referencing, and Exporting Environment Variables
- Use and Edit Command History
- Invoke Commands Inside and Outside the Defined Path
- bash
- echo
- env
- export
- pwd
- set
- unset
- man
- uname
- history
- .bash_history
- CHAPTER 10 Process Text Streams Using Filters
-
CHAPTER 11 Perform Basic File Management
- Copy, Move, and Remove Files and Directories Individually
- Copy Multiple Files and Directories Recursively
- Remove Files and Directories Recursively
- Use Simple and Advanced Wildcard Specifications in Commands
- Using find to Locate and Act on Files Based on Type, Size, or Time
- Usage of tar, cpio, and dd
- cp
- find
- mkdir
- mv
- ls
- rm
- rmdir
- touch
- tar
- cpio
- dd
- file
- gzip
- gunzip
- bzip2
- xz
- File Globbing
- CHAPTER 12 Use Streams, Pipes, and Redirects
- CHAPTER 13 Create, Monitor, and Kill Processes
- CHAPTER 14 Modify Process Execution Priorities
- CHAPTER 15 Search Text Files Using Regular Expressions
- CHAPTER 16 Perform Basic File Editing Operations Using vi
-
CHAPTER 9 Work on the Command Line
-
Part IV: Devices, Linux Filesystems, and the Filesystem Hierarchy Standard
- CHAPTER 17 Create Partitions and Filesystems
- CHAPTER 18 Maintain the Integrity of Filesystems
- CHAPTER 19 Control Mounting and Unmounting of Filesystems
- CHAPTER 20 Manage Disk Quotas
- CHAPTER 21 Manage File Permissions and Ownership
- CHAPTER 22 Create and Change Hard and Symbolic Links
- CHAPTER 23 Find System Files and Place Files in the Correct Location
-
Part V: Shell Scripting and Data Management
-
CHAPTER 24 Customize and Use the Shell Environment
- Set Environment Variables (For Example, PATH) at Login or When Spawning a New Shell
- Write Bash Functions for Frequently Used Sequences of Commands
- Maintain Skeleton Directories for New User Accounts
- Set Command Search Path with the Proper Directory
- source
- /etc/bash.bashrc
- /etc/profile
- env
- export
- set
- unset
- ~/.bash_profile
- ~/.bash_login
- ~/.profile
- ~/.bashrc
- ~/.bash_logout
- Function
- Alias
- Lists
-
CHAPTER 25 Customize or Write Simple Scripts
- Use Standard sh Syntax (Loops, Tests)
- Use Command Substitution
- Test Return Values for Success or Failure or Other Information Provided by a Command
- Perform Conditional Mailing to the Superuser
- Correctly Select the Script Interpreter through the Shebang (#!) Line
- Manage the Location, Ownership, Execution and suid-rights of scripts
- for
- while
- test
- if
- read
- seq
- exec
- CHAPTER 26 SQL Data Management
-
CHAPTER 24 Customize and Use the Shell Environment
-
Part VI: User Interfaces and Desktops
- CHAPTER 27 Install and Configure X11
- CHAPTER 28 Set Up a Display Manager
-
CHAPTER 29 Accessibility
- Basic Knowledge of Keyboard Accessibility Settings (AccessX)
- Basic Knowledge of Visual Settings and Themes
- Basic Knowledge of Assistive Technology (AT)
- Sticky/Repeat Keys
- Slow/Bounce/Toggle Keys
- Mouse Keys
- High Contrast/Large Print Desktop Themes
- Screen Reader
- Braille Display
- Screen Magnifier
- On-Screen Keyboard
- Orca
- GOK
- emacspeak
- Part VII: Administrative Tasks
-
Part VIII: Essential System Services
-
CHAPTER 33 Maintain System Time
- Set the System Date and Time
- Set the Hardware Clock to the Correct Time in UTC
- Configure the Correct Timezone
- Basic NTP Configuration
- Knowledge of Using the pool.ntp.org Service
- Awareness of the ntpq Command
- /usr/share/zoneinfo/
- /etc/timezone
- /etc/localtime
- /etc/ntp.conf
- date
- hwclock
- ntpd
- ntpdate
- pool.ntp.org
-
CHAPTER 34 System Logging
- Configuration of the Syslog Daemon
- Understanding of Standard Facilities, Priorities, and Actions
- Configuration of logrotate
- Awareness of rsyslog and syslog-ng
- syslog.conf
- syslogd
- klogd
- /var/log/
- logger
- logrotate
- /etc/logrotate.conf
- /etc/logrotate.d/
- journalctl
- /etc/systemd/journald.conf
- /var/log/journal/
- CHAPTER 35 Mail Transfer Agent (MTA) Basics
- CHAPTER 36 Manage Printers and Printing
-
CHAPTER 33 Maintain System Time
-
Part IX: Networking Fundamentals
-
CHAPTER 37 Fundamentals of Internet Protocols
- Demonstrate an Understanding of Network Masks and CIDR Notation
- Knowledge of the Differences Between Private and Public “Dotted Quad” IP Addresses
- Knowledge About Common TCP and UDP Ports and Services (20, 21, 22, 23, 25, 53, 80, 110, 123, 139, 143, 161, 162, 389, 443, 465, 514, 636, 993, 995)
- Knowledge About the Differences and Major Features of UDP, TCP, and ICMP
- Knowledge of the Major Differences Between IPv4 and IPv6
- Knowledge of the Basic Features of IPv6
- /etc/services
- IPv4, IPv6
- Subnetting
- TCP, UDP, ICMP
- CHAPTER 38 Basic Network Configuration
-
CHAPTER 39 Basic Network Troubleshooting
- Manually and Automatically Configure Network Interfaces and Routing Tables to Include Adding, Starting, Stopping, Restarting, Deleting, or Reconfiguring Network Interfaces
- Change, View, or Configure the Routing Table and Correct an Improperly Set Default Route Manually
- ifconfig
- ip
- ifup
- ifdown
- route
- host
- hostname
- dig
- netstat
- ping
- ping6
- traceroute
- traceroute6
- tracepath
- tracepath6
- netcat
- CHAPTER 40 Configure Client-Side DNS
-
CHAPTER 37 Fundamentals of Internet Protocols
-
Part X: Security
-
CHAPTER 41 Perform Security Administration Tasks
- Audit a System to Find Files with the suid/sgid Bit Set
- Set or Change User Passwords and Password-Aging Information
- Being Able to Use nmap and netstat to Discover Open Ports on a System
- Set Up Limits on User Logins, Processes, and Memory Usage
- Determine Which Users Have Logged in to the System or Are Currently Logged In
- Basic sudo Configuration and Usage
- find
- passwd
- fuser
- lsof
- nmap
- chage
- netstat
- sudo
- /etc/sudoers
- su
- usermod
- ulimit
- who, w, last
- CHAPTER 42 Set Up Host Security
-
CHAPTER 43 Securing Data with Encryption
- Perform Basic OpenSSH 2 Client Configuration and Usage
- Understand the Role of OpenSSH 2 Server Host Keys
- Perform Basic GnuPG Configuration, Usage, and Revocation
- Understand SSH Port Tunnels (Including X11 Tunnels)
- ssh
- ssh-keygen
- ssh-agent
- ssh-add
- ~/.ssh/id_rsa and id_rsa.pub
- ~/.ssh/id_dsa and id_dsa.pub
- /etc/ssh/ssh_host_rsa_key and ssh_host_rsa_key.pub
- /etc/ssh/ssh_host_dsa_key and ssh_host_dsa_key.pub
- ~/.ssh/authorized_keys
- ssh_known_hosts
- gpg
- ~/.gnupg/
-
CHAPTER 41 Perform Security Administration Tasks
- Appendix Create Your Own Journal
- Index
- Code Snippets
Product information
- Title: CompTIA Linux+/LPIC-1 Portable Command Guide: All the commands for the CompTIA LX0-103 & LX0-104 and LPI 101-400 & 102-400 exams in one compact,
- Author(s):
- Release date: September 2017
- Publisher(s): Pearson IT Certification
- ISBN: 9780134692357
You might also like
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
book
Cisco ASA and PIX Firewall Handbook
The complete guide to the most popular Cisco PIX®, ASA, FWSM, and IOS® firewall security features …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Swift iOS 24-Hour Trainer
Jump into the app development world with confidence! iOS Swift 24-Hour Trainer combines book and video …