Home - LPI / Certification / The LPIC Program / LPIC-1 / Exam 101: Tasks and Sample Questions

Exam 101: Tasks and Sample Questions

LPI Level 1 Exam 101 tests basic capabilities in these areas:

  • Hardware & Architecture
  • Linux Installation & Package Management
  • GNU & Unix commands
  • Devices, Linux File systems, File system Hierarchy Standard
  • The X Window System

Sample Questions

The following are sample questions relating to LPI Exam 101. None of these items actually appear on the real exam, but they were actual submissions and are representative of the types of questions and the content covered by the exam. Please note however that the items below are flawed in some way and have been rejected; they are presented only as an illustration.

OBJECTIVE: 1.3.1 TYPE: mc

If you wanted to turn off mail notification, what command would you use?

1. biff n
2. mesg n
3. mesg off
4. notify off
5. 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?

1. more
2. less
3. sed
4. pause
5. 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?

1. ls -l
2. ls -la
3. du .
4. ls -a
5. ls

OBJECTIVE: 1.3.4 TYPE: mc

What command would send the output of cmd1 to the input of cmd2?

1. cmd1 | cmd2
2. cmd1 || cmd2
3. cmd1 && cmd2
4. cmd1 ; cmd2
5. cmd1 cmd2

OBJECTIVE: 1.3.5 TYPE: mc

Under the bash shell, when a command is running, pressing control-Z will usually

1. suspend the foreground task.
2. adds an EOF to the file.
3. kill the command running in the foreground
4. move the foreground task into the background
5. log the user off

OBJECTIVE: 1.8.1 TYPE: mc

What is the 'man' command used for?

1. to display information about the syntax for a command
2. it is the replacement for the 'boy' command
3. it is a standard alias to 'ls -la | more'
4. it is used to display formatted html pages

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?

1. /etc/profile
2. rc.local
3. rc.sysinit
4. /etc/skel
5. /etc/bashrc

OBJECTIVE: 2.11.4 TYPE: mc

Which statement describes the cron daemon?

1. Manages scheduling of routine system tasks
2. Manages all incoming connections and spawns off child processes
3. Is responsible for file sharing across a network
4. Manages the printing subsystem
5. 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?

1. hard disks
2. loopback devices
3. serial ports
4. virtual terminals
5. tape devices

OBJECTIVE: 2.4.2 TYPE: mc

How can you best see how much free space you have in your current directory?

1. Use df .
2. Use df
3. Use du /
4. Use du .
5. Use df /

OBJECTIVE: 2.4.8 TYPE: mc

Which command will update the slocate database as a background process?

1. updatedb &
2. slocate --updatedb &
3. slocatedb
4. slocate --start &
5. slocate --update &

OBJECTIVE: 2.6.2 TYPE: mc

Having booted into run level 3, how would you change to run level 5 without rebooting?

1. telinit 5
2. startx
3. run 5
4. ALT-F7-5
5. setinit 5