LPI 702-100 Practice Test - Questions Answers
List of questions
Related questions
Question 1

Consider the following file legal file:
disclosure
non-disclosure
non-disclosure
Which line or lines in the file does the following command match? Note the space after the dash within the brackets.
grep 'non [-] disclosure' legalfile
Question 2

What does S l represent in the following lines from a Bourne shell script:
#! /bin/sh
cp SI 52
Question 3

Which of the following excerpts is a valid if condition in the Bourne shell?
Question 4

A file called mybackup is found while investigating a USB pen drive. Which utility can be used to determine the kind of data that is contained in that file?
Question 5

Which BSD command lists, adds, or deletes swap devices?
Question 6

Which of the following tar options handle compression'? (Choose TWO correct answers)
Question 7

What symbol is used in the vi editor to start the forward search for a string? (Specify ONLY the single character symbol without any parameters)
Explanation:
Question 8

How often does? match the preceding expression in a regular expression?
Question 9

What command creates a new directory? (Specify ONLY the command without any path or parameters.)
Explanation:
Question 10

What is the purpose of the nice command'?
Question