This is an old revision of the document!


LPIC-1 / Linux+ Cheat Sheet

LX0-101

101 System Architecture 14%

101.1 Determine and Configure hardware settings (LCN-1 CTL-3)

  • Enable and disable integrated peripherals
  • Configure systems with or without external peripherals such as keyboards
  • Differentiate between the various types of mass storage devices
  • Set the correct hardware ID for different devices, especially the boot device
  • Know the differences between coldplug and hotplug devices
  • Determine hardware resources for devices
  • Tools and utilities to list various hardware information (e.g., lsusb, lspci, etc.)
  • Tools and utilities to manipulate USB devices
  • Conceptual understanding of sysfs, udev, hald, dbus
  • Terms: /sys, /proc, /dev, modprobe, lsmod, lspci, lsusb

101.2 Boot the System (LCN-2 CTL-5)

  • Provide common commands to the boot loader and options to the kernel at boot time
  • Demonstrate knowledge of the boot sequence from BIOS to boot completion
  • Check boot events in the log file
  • Terms: /var/log/messages, dmesg, BIOS, bootloader, kernel, init

101.3 Change runlevels and shutdown or reboot system (LCN-2 CTL-5)

  • Set the default run level
  • Change between run levels including single user mode
  • Shutdown and reboot from the command line
  • Alert users before switching run levels or other major system events
  • Properly terminate processes
  • Knowledge of basic features of systemd and Upstart
  • Terms: /etc/inittab, shutdown, init, /etc/init.d, telinit

102 Installation and Package Management 18%

102.1 Design hard disk layout (Chapter 3)

  • 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
  • Terms: / (root) filesystem, /var filesystem, /home filesystem, swap space, mount points, partitions

102.2 Install a boot manager (Chapter 5)

  • Providing alternative boot locations and backup boot options
  • Install and configure a boot loader such as GRUB Legacy
  • Perform basic configuration changes for GRUB 2
  • Interact with the boot loader
  • Terms: /boot/grub/menu.lst, grub.cfg and other variations, grub-install, MBR, superblock

102.3 Manage shared libraries (Chapter 2)

  • Identify shared libraries
  • Identify the typical locations of system libraries
  • Load shared libraries
  • Terms: ldd, ldconfig, /etc/ld.so.conf, LD_LIBRARY_PATH

102.4 Use Debian package management (Chapter 2)

  • Install, upgrade and uninstall Debian binary packages
  • Find packages containing specific files or libraries which may or may not be installed
  • Obtain package information like version, content, dependencies, package integrity and installation status (whether or not the package is installed)
  • Terms: /etc/apt/sources.list, dpkg, dpkg-reconfigure, apt-get, apt-cache, aptitude

102.5 Use RPM and YUM package management (Chapter 2)

  • Install, re-install, 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
  • Terms: rpm, rpm2cpio, /etc/yum.conf, /etc/yum.repos.d/, yum, yumdownloader

103 GNU / Unix Commands 43%

103.1 Work on the command line (Chapter 1)

  • 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
  • Terms: ., bash, echo, env, exec, export, pwd, set, unset, man, uname, history

103.2 Process text streams using filters (Chapter 1)

  • Send text files and output streams through text utility filters to modify the output
  • Using standard UNIX commands found in the GNU textutils package
  • Terms: cat, cut, expand, fmt, head, od, join, nl, paste, pr, sed, sort, split, tail, tr, unexpand, uniq, wc

103.3 Perform basic file management (Chapter 4)

  • 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
  • Terms: cp, find, mkdir, mv, ls, rm, rmdir, touch, tar, cpio, dd, file, gzip, gunzip, bzip2, file globbing

103.4 Use streams, pipes and redirects (Chapter 1)

  • Redirecting standard input, standard output and standard error
  • Pipe the output of one command to the input of another command
  • Use the output of one command as arguments to another command
  • Send output to both stdout and a file
  • Terms: tee, xargs

103.5 Create, monitor and kill processes (Chapter 2)

  • Run jobs in the foreground and background
  • Signal a program to continue running after logout
  • Monitor active processes
  • Select and sort processes for display
  • Send signals to processes
  • Terms: &, bg, fg, jobs, kill, nohup, ps, top, free, uptime, killall

103.6 Modify process execution priorities (Chapter 2)

  • Know the default priority of a job that is created
  • Run a program with higher or lower priority than the default
  • Change the priority of a running process
  • Terms: nice, ps, renice, top

103.7 Search text files using regular expressions (Chapter 1)

  • Create simple regular expressions containing several notational elements
  • Use regular expression tools to perform searches through a filesystem or file content
  • The following is a partial list of the used files, terms and utilities: grep, egrep, fgrep, sed, regex(7)

103.8 Perform basic file editing operations using vi (Chapter 5)

  • Navigate a document using vi
  • Use basic vi modes
  • Insert, edit, delete, copy and find text
  • Terms: vi, /, ?, h, j, k, l, i, o, a, c, d, p, y, dd, yy, ZZ, :w!, :q!, :e!

104 Devices, Filesystems, Filesystem Hierarchy 25%

104.1 Create partitions and filesystems (Chapter 3)

  • Use various mkfs commands to set up partitions and create various filesystems such as: ext2, ext3, xfs, reiserfs v3, vfat
  • Terms: fdisk, mkfs, mkswap

104.2 Maintain the integrity of filesystems (Chapter 3)

  • Verify the integrity of filesystems
  • Monitor free space and inodes
  • Repair simple filesystem problems
  • Terms: du, df, fsck, e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, xfs tools (such as xfs_metadump and xfs_info)

104.3 Control mounting and unmounting of filesystems (Chapter 3)

  • Manually mount and unmount filesystems
  • Configure filesystem mounting on bootup
  • Configure user mountable removeable filesystems
  • Terms: /etc/fstab, /media, mount, umount

104.4 Manage disk quotas (Chapter 4)

  • Set up a disk quota for a filesystem
  • Edit, check and generate user quota reports
  • Terms: quota, edquota, repquota, quotation

104.5 Manage file permissions and ownership (Chapter 4)

  • Manage access permissions on regular and special files as well as directories
  • Use access modes such as suid, sgid and the sticky bit to maintain security
  • Know how to change the file creation mask
  • Use the group field to grant file access to group members
  • Terms: chmod, umask, chown, chgrp
  • Create links
  • Identify hard and/or soft links
  • Copying versus linking files
  • Use links to support system administration tasks
  • Terms: ln

104.7 Find system files and place files in the correct location (Chapter 4)

  • Understand the correct locations of files under the FHS
  • Find files and commands on a Linux system
  • Know the location and propose of important file and directories as defined in the FHS
  • Terms: find, locate, updatedb, whereis, which, type, /etc/updatedb.conf

LX0-102

105 Shells, Scripting and Data Management 17%

106 User Interfaces and Desktops 8%

107 Administrative Tasks 20%

108 Essential System Services 17%

109 Networking Fundamentals 23%

110 Security 15%

Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki