Linux Certification
Linux Professional Institute
See also On Wikipedia
Books
- LPIC Linux Level 1, Test 1 (Cheat Sheet S.) (Paperback) 352 pages
- LPIC-1. (Hardcover)
- LPIC1 Certification Bible (Paperback) 880 pages
- LPIC I Exam Cram 2: Exam 101, 102 (Exam Cram 2 S.) (Paperback) 588 pages, said to be up-to-date, official website
- LPI Linux Certification in a Nutshell (Paperback) 576 pages New edition in July 2006 current edition is largely outdated
- LPIC-1: Linux Professional Institute Certification: Study Guide (Level 1 Exams 101 and 102) (Paperback) 656 pages
Courses
- http://www.linuxcertified.com/linux-courseware.html
- http://www.lynuxtraining.com/formations/index.html#3
- http://www.ibm.com/Search/?q=lpic-1&v=11&lang=en&cc=us&en=utf&Search.x=0&Search.y=0&Search=Search
- http://www.sybex.com/WileyCDA/SybexTitle/productCd-078214425X,navId-291002,pageCd-resources.html
- http://www.bradfordlearning.com/cgi-bin/Item.cgi?action=ShowCategory&category=certification16&item=34
Tutorials
Try yourself
Here are "clean" test questions copied from the LPI site but without the answers and fuzzed (on LPI the right answer is always the first!) so you can really try them and then check the answers on the LPI website.
LPIC-1 101 Sample questions
OBJECTIVE: 1.3.1 TYPE: mc If you wanted to turn off mail notification, what command would you use? mesg n mesg off biff n notify off set notify=off OBJECTIVE: 1.3.1 TYPE: mcma Which of these commands could you use to show one page of output at a time? more sed pause less grep OBJECTIVE: 1.3.3 TYPE: mcma Which commands will give you information about how much disk space each file in the current directory uses? ls ls -l ls -a ls -la du . OBJECTIVE: 1.3.4 TYPE: mc What command would send the output of cmd1 to the input of cmd2? cmd1 cmd2 cmd1 ; cmd2 cmd1 | cmd2 cmd1 || cmd2 cmd1 && cmd2 Top OBJECTIVE: 1.3.5 TYPE: mc Under the bash shell, when a command is running, pressing control-Z will usually adds an EOF to the file. suspend the foreground task. kill the command running in the foreground move the foreground task into the background log the user off OBJECTIVE: 1.8.1 TYPE: mc What is the 'man' command used for? it is the replacement for the 'boy' command it is a standard alias to 'ls -la | more' it is used to display formatted html pages to display information about the syntax for a command OBJECTIVE: 2.11.1 TYPE: fitb In which file might you find the following entry: root:x:0:0::/root:/bin/bash OBJECTIVE: 2.11.1 TYPE: fitb As root, what command would you type to initiate a password change for user larry? OBJECTIVE: 2.11.2 TYPE: mc Under the bash shell which is the most appropriate place to set environment variables that apply to all users? rc.local rc.sysinit /etc/skel /etc/profile /etc/bashrc OBJECTIVE: 2.11.4 TYPE: mc Which statement describes the cron daemon? Manages all incoming connections and spawns off child processes Is responsible for file sharing across a network Manages scheduling of routine system tasks Manages the printing subsystem Keeps track of system messages and errors OBJECTIVE: 2.4.1 TYPE: mcma Which of the following are valid block devices on most default linux distributions? loopback devices serial ports virtual terminals tape devices hard disks OBJECTIVE: 2.4.2 TYPE: mc How can you best see how much free space you have in your current directory? Use df Use df . Use df / Use du . Use du / OBJECTIVE: 2.4.5 TYPE: fitb Which command would you use to alter the permissions of a file (do not give any parameters) OBJECTIVE: 2.4.8 TYPE: mc Which command will update the slocate database as a background process? updatedb & slocate --start & slocate --update & slocate --updatedb & slocatedb OBJECTIVE: 2.6.2 TYPE: mc Having booted into run level 3, how would you change to run level 5 without rebooting? startx run 5 ALT-F7-5 setinit 5 telinit 5
Check the solutions on http://www.lpi.org/en/tasks_101.html
LPIC-1 102 Sample questions
OBJECTIVE: 1.1.1 TYPE: mc which command is used to change settings on IDE hard disk drives? diskparm hdparam hdparm hddparm ideconfig OBJECTIVE: 1.12.1 TYPE: mc Your logfile shows repeated connections to TCP port 143. Which named service is being accessed? imap smbd nmbd pop2 smtp OBJECTIVE: 1.12.1 TYPE: fitb What type of packet does an IP ping use (provide acronym)? OBJECTIVE: 1.12.2 TYPE: mc To learn more about the management of an internet site the best utility to use would be: ping rpcdump telnet traceroute whois OBJECTIVE: 1.12.3 TYPE: mc If you had a Linux system routing 3 different Networks through 3 NICs and you were having trouble with your IP-Forwarding. Where would you look to ensure that IP-Forwarding is actually enabled? iptraf -d eth0 cat /proc/net/tcp cat /proc/sys/net/ipv4/ip_forward netstat tail -f /var/log/messages OBJECTIVE: 1.13.1 TYPE: mc What file is used for associating port numbers to port names. /etc/hosts /etc/inetd.conf /etc/ports /etc/securetty /etc/services OBJECTIVE: 1.13.4 TYPE: mc You want to make the directory /local available via NFS. All users on your local network should be allowed to read and write files. Which of the following is correct, assuming that your local network is 192.168.1.0, and your machine is part of the DNS domain foobar.com? 192.168.1.0 /local /local 192.168.1.0(rw) /local 192.168.1.0/255.255.255.0(rw) /local *.com(rw) Top OBJECTIVE: 1.14.1 TYPE: fitb Which file can you create to prevent non-root users from logging into the system? (specify path and filename) OBJECTIVE: 1.14.2 TYPE: fitb What command can be used to display a formatted output of the wtmp file? (no arguments) OBJECTIVE: 1.14.3 TYPE: fitb Which command can be executed by a user who is already logged into the system, in order to change to the root user? (type the command without any parameters) OBJECTIVE: 1.7.2 TYPE: mc To cause a particular print job to be printed next, regardless of its current position in the queue, what command would be used? lpc topq lpc -t lpq -t lpq --next lpc move OBJECTIVE: 1.7.2 TYPE: mc Which statement describes the LPD daemon? Manages all incoming connections and spawns off child processes Is responsible for file sharing across a network Manages scheduling of routine system tasks Manages the printing subsystem Keeps track of system messages and errors OBJECTIVE: 2.10.4 TYPE: mc When configuring a terminal for X what does the -fn switch do? It sets the terminal's default function. It places the terminal in the foreground on your screen. It sets the terminal's initial value to false. It sets the terminal's initial display to reverse video. It sets the font size and or type for the terminal. OBJECTIVE: 2.2.1 TYPE: mc What command(s) do you use to create swap space? activeswap initswap mkfs -t swap mkswap swapon OBJECTIVE: 2.2.3 TYPE: fitb Type the full command you could use to decompress the file "foo.gz" decompress foo.gz gzip -d foo.gz gunzip -d foo.gz gunzip foo.gz unzip foo.gz OBJECTIVE: 2.2.5 TYPE: mc How can you add package information from a file Packages to the database of available Debian packages? dpkg --merge-avail Packages dpkg --record-avail Packages dpkg --update-avail Packages dpkg -U Packages OBJECTIVE: 2.2.6 TYPE: mc You need to find out which package owns a file called /etc/paper.config. Which command will answer this question? rpm --requires /etc/paper.config rpm -Fq /etc/paper.config rpm -q /etc/paper.config rpm -qa|grep /etc/paper.config rpm -qf /etc/paper.config
Check the solutions on http://www.lpi.org/en/tasks_102.html