LPI Linux Certification in a Nutshell (In a Nutshell (O'Reilly))
Format: PDF / Kindle (mobi) / ePub
Linux deployment continues to increase, and so does the demand for qualified and certified Linux system administrators. If you're seeking a job-based certification from the Linux Professional Institute (LPI), this updated guide will help you prepare for the technically challenging LPIC Level 1 Exams 101 and 102.
The third edition of this book is a meticulously researched reference to these exams, written by trainers who work closely with LPI. You'll find an overview of each exam, a summary of the core skills you need, review questions and exercises, as well as a study guide, a practice test, and hints to help you focus.
Major topics include:
- Critical GNU and Unix commands
- Linux installation and package management
- Devices and filesystems
- Text editing, processing, and printing
- The X Window System
- Networking and security
- Mail transfer agents
- Email, FTP, and web services
These exams are for junior to mid-level Linux administrators with about two years of practical system administration experience. You should be comfortable with Linux at the command line and capable of performing simple tasks, including system installation and troubleshooting.
Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: elvis 0 packages upgraded, 0 newly installed, 1 to remove and 376 not upgraded. Need to get 0B of archives. After unpacking 1363kB will be freed. Do you want to continue? [Y/n] y (Reading database ... 54816 files and directories currently installed.) Removing elvis ... (removal continues...) alien alien Syntax alien [--to-deb] [--patch=patchfile] [options] file Description Convert to or install a
not include a preceding dollar sign when defining or exporting a variable (because in this command, you don’t want the shell to expand the variable to its value). When a variable is exported to the environment, it is passed into the environment 66 | Chapter 6: GNU and Unix Commands (Topic 103) www.it-ebooks.info of all child processes. That is, it will be available to all programs run by your shell. Here is an example that displays the difference between a shell variable and an environment
ps Syntax ps [options] Description This command generates a one-time snapshot of the current processes on standard output. Frequently used options -a Show processes that are owned by other users and attached to a terminal. Normally, only the current user’s processes are shown. -f “Full-format” listing. This option prints command arguments in addition to the command itself. -l Long format, which includes priority, parent PID, and other information. -u User format, which includes usernames and
attached to the hierarchical directory structure on the system. Much of the strength and flexibility of Linux (and Unix) comes from the ability to mount any filesystem that it supports, whether that filesystem is somewhere remote on the network or on a locally attached disk, anywhere in its directory structure, in a way that is completely transparent to users. For example, the files under /usr will work equally well whether they are on a disk attached to the system or mounted from a master
/dev/hda. Interactive commands to fdisk are a single letter followed by a carriage return. The commands do not take arguments, but instead start an interactive dialog. Commands that operate on a partition will request the partition number, which is an integer. For primary and extended partitions, the partition number is from 1 to 4. For logical partitions, which are available only when the extended partition already exists to contain them, the partition number is from 5 to 16. fdisk d Delete a