Exam 101: Sample Questions
The following are sample questions relating to LPI Exam 101. None of these items actually appear on the real exam, but are representative of the types of questions and the content covered by the exam and are presented only as an illustration.
|
Objective |
103.1 - Work on the command line |
|---|---|
|
Question |
What is the man command used for? |
|
Answers |
A) It displays information about the syntax for a command. B) It is the replacement for the boy command. C) It is a standard alias to ls -la ¦ more. D) It is used to display formatted HTML pages. |
|
Objective |
103.2 - Process text streams using filters |
|
Question |
Which of these commands can be used to display one page of output at a time to the screen? (Select TWO answers) |
|
Answers |
A) more B) less C) sed D) pause E) grep |
|
Objective |
103.3 - Perform basic file management |
|
Question |
Which of the following commands can be used to decompress the file foo.gz? |
|
Answers |
A) gzip foo.gz B) gunzip foo.gz C) uncompress foo.gz D) unzip foo.gz E) decompress foo.gz |
|
Objective |
103.4 - Use streams, pipes and redirects |
|
Question |
What command sends the output of cmd1 to the input of cmd2? |
|
Answers |
A) cmd1 ¦ cmd2 B) cmd1 ¦¦ cmd2 C) cmd1 && cmd2 D) cmd1 ; cmd2 E) cmd1 cmd2 |
|
Objective |
104.1 - Create partitions and filesystems |
|
Questions |
What command do you use to create swap space? |
|
Answers |
A) mkswap B) activeswap C) swapon D) initswap E) mkfs -t swap |
|
Objective |
104.2 - Maintain the integrity of filesystems |
|
Questions |
Which command will show how much free disk space is available in the current directory? |
|
Answers |
A) df . B) df C) du / D) du . E) df / |

