CramLinux 101
CramLinux 101
http://www.lpi.org/eng/certification/the_lpic_program/lpic_1/exam_101_detailed_objectives
c c
c cc
Lan Install?
ë et the correct hardware I for different devices, especially the boot device.
Earlier the kernel used to notify userspace about hotplug events by invoking
a helper program registered via the /proc filesystem, but when current
systems detect hotplug, they dispatch uevents to userspace via netlink
sockets. (netlink sockets are an efficient way to communicate between
kernelspace and userspace over the socket API) In userspace the udevd
daemon, managing device node creation and removal, receives the uevents and
manages hotplug
[1]
jhe following is a partial list of the used files, terms and utilities:
c c!"
escription ½andidates should be able to guide the system through the booting process.
* 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 files.
jhe following is a partial list of the used files, terms and utilities:
escription ½andidates should be able to manage the runlevel of the system. jhis objective
includes changing to single user mode, shutdown or rebooting the system. ½andidates should be
able to alert users before switching runlevel and properly terminate processes. jhis objective also
includes setting the default runlevel.
jhe following is a partial list of the used files, terms and utilities:
c !%&
'
()
c !c(
escription ½andidates should be able to design a disk partitioning scheme for a Linux system.
jhe following is a partial list of the used files, terms and utilities:
escription ½andidates should be able to select, install and configure a boot manager.
jhe following is a partial list of the used files, terms and utilities:
escription ½andidates should be able to determine the shared libraries that executable programs
depend on and install them when necessary.
^ey ^nowledge Areas
jhe following is a partial list of the used files, terms and utilities:
escription ½andidates should be able to perform package management using the ebian
package tools.
jhe following is a partial list of the used files, terms and utilities:
escription ½andidates should be able to perform package management using RPM and YUM
tools.
* 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.
jhe following is a partial list of the used files, terms and utilities:
c #/0++$
c #c1
(
escription ½andidates should be able to interact with shells and commands using the command
line. jhe objective assumes the bash shell.
* 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.
jhe following is a partial list of the used files, terms and utilities:
c #!'
* Send text files and output streams through text utility filters to
modify the output using standard UNIX commands found in the GNU textutils
package.
jhe following is a partial list of the used files, terms and utilities:
* cat ± cocatenate files and print on stdout
* cut ± remove sections from each line of files
* expand ± converts tabs to space
* fmt ± simple text formatter
* head ± outputs the first lines of a program
* od ± dump files in octal
* join ± join two files together
* nl ± creats links
* paste ± paste text
* pr ± converts text for printing
* sed ± streamline editor for filtering and transferring txt.
* sort ± sorts files, text
* split ± split text or files
* tail ± show last few lines
* tr ± translate or delete characters
* unexpand ± converts spaces to tabs
* uniq ± only leave unique strings
* wc ± print the number of new lines
c ##'
escription ½andidates should be able to use the basic Linux commands to manage files and
directories.
jhe following is a partial list of the used files, terms and utilities:
* cp - copy
* find ± searches for files under the current directory structure
* mkdir ± creates empty directory
* mv ± move files
* ls ± list directory
* rm ± remove files or directories
* rmdir ± remove directory
* touch ± creates new empty files
* tar ± used for backups - compression
* cpio ± allows copying to and from an archive
* dd ± convert and copy a file
* file ± determine file type
* gzip ± compress files
* gunzip ± uncompresses a file
* bzip2 ± compression
* file globbing -
jhe following is a partial list of the used files, terms and utilities:
* tee ± read from standard input and write to standard output and
files
* xargs ± pass args to programs
c #,$2
(
jhe following is a partial list of the used files, terms and utilities:
* & - ???
* bg ± force process in the background
* fg ± force process in the foreground
* jobs - Lists the jobs that you are running in the background and in the
foreground. If the prompt is returned with no information no jobs are
present. Note: not all shells are capable of running this command.
c #3)
escription ½andidates should should be able to manage process execution priorities.
jhe following is a partial list of the used files, terms and utilities:
escription ½andidates should be able to manipulate files and text data using regular
expressions. jhis objective includes creating simple regular expressions containing several
notational elements. It also includes using regular expression tools to perform searches through a
filesystem or file content.
jhe following is a partial list of the used files, terms and utilities:
c #5'
escription ½andidates should be able to edit text files using vi. jhis objective includes vi
navigation, basic vi modes, inserting, editing, deleting, copying and finding text.
jhe following is a partial list of the used files, terms and utilities:
* vi ± command line editor
* /, ?
* h,j,k,l
* i, o, a
* c, d, p, y, dd, yy
* ZZ, :w!, :q!, :e!
c *
2%6 26 7
c *c$
escription ½andidates should be able to configure disk partitions and then create filesystems on
media such as hard disks. jhis includes the handling of swap partitions.
jhe following is a partial list of the used files, terms and utilities:
c *!)
escription ½andidates should be able to maintain a standard filesystem, as well as the extra data
associated with a journaling filesystem.
jhe following is a partial list of the used files, terms and utilities:
* du ± disk usage
* df - freespace
* fsck ± check and repair filesystems
* e2fsck ± check eft2 filesystems
* mke2fs ± create ext2/ext3 filesystems
* debugfs ± filesystem debugger
* dumpe2fs ± print the super block
* tune2fs ± allows tuning of filesystems
* xfs tools (such as xfs_metadump and xfs_info)
c *#$
jhe following is a partial list of the used files, terms and utilities:
c **)(8
jhe following is a partial list of the used files, terms and utilities:
escription ½andidates should be able to control file access through the proper use of
permissions and ownerships.
jhe following is a partial list of the used files, terms and utilities:
* chmod ± changes permission on files
* umask ± sets calling processes file mode creation mask
* chown ± change owner/groups
* chgrp ± change group ownership
escription ½andidates should be able to create and manage hard and symbolic links to a file.
* Create links.
* Identify hard and/or softlinks.
* Copying versus linking files.
* Use links to support system administration tasks.
jhe following is a partial list of the used files, terms and utilities:
* ln ± create links
escription ½andidates should be thouroughly familiar with the Filesystem Hierarchy tandard
(FH), including typical file locations and directory classifications.
jhe following is a partial list of the used files, terms and utilities: