ExamGecko
Home / LPI / 702-100 / List of questions
Ask Question

LPI 702-100 Practice Test - Questions Answers

List of questions

Question 1

Report Export Collapse

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

disclosure only
disclosure only
non-disclosure only
non-disclosure only
non-disclosure only
non-disclosure only
disclosure and non-disclosure only
disclosure and non-disclosure only
non-disclosure and non-disclosure Only
non-disclosure and non-disclosure Only
Suggested answer: E
asked 18/09/2024
Marcelo Severo
38 questions

Question 2

Report Export Collapse

What does S l represent in the following lines from a Bourne shell script:

#! /bin/sh

cp SI 52

A control operator.
A control operator.
An environmental variable.
An environmental variable.
A function.
A function.
A positional parameter.
A positional parameter.
The shebang.
The shebang.
Suggested answer: D
asked 18/09/2024
Grzegorz GÅ‚ogowski
32 questions

Question 3

Report Export Collapse

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

Suggested answer: B
asked 18/09/2024
Stefano Humphries
40 questions

Question 4

Report Export Collapse

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?

file mybackup
file mybackup
Is -1 mybackup
Is -1 mybackup
tar -t mybackup
tar -t mybackup
whatis mybackup
whatis mybackup
touch mybackup
touch mybackup
Suggested answer: A
asked 18/09/2024
Test Test
25 questions

Question 5

Report Export Collapse

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

diskcontro1
diskcontro1
mkswap
mkswap
swap
swap
swapct1
swapct1
swapinfo
swapinfo
Suggested answer: D
asked 18/09/2024
Nipunika Jayasundara
36 questions

Question 6

Report Export Collapse

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

-x
-x
-c
-c
-z
-z
-J
-J
-v
-v
Suggested answer: C, D
asked 18/09/2024
Thiago B
43 questions

Question 7

Report Export Collapse

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)

LPI 702-100 image Question 7 52502 09182024213335000000

See in Explanation
See in Explanation
Suggested answer: A
Explanation:

LPI 702-100 image Question 7 explanation 52502 09182024213335000000

asked 18/09/2024
Vijay Khara
43 questions

Question 8

Report Export Collapse

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

Two or more times
Two or more times
Exactly one time
Exactly one time
Any number of times
Any number of times
Zero or one times
Zero or one times
One or more times
One or more times
Suggested answer: D
asked 18/09/2024
Tommy Svendsen
37 questions

Question 9

Report Export Collapse

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

LPI 702-100 image Question 9 52504 09182024213335000000

See in Explanation
See in Explanation
Suggested answer: A
Explanation:

LPI 702-100 image Question 9 explanation 52504 09182024213335000000

asked 18/09/2024
Heritier kandolo
47 questions

Question 10

Report Export Collapse

What is the purpose of the nice command'?

Run a command with the permissions of another user
Run a command with the permissions of another user
Run a command with limited access to a specified directory
Run a command with limited access to a specified directory
Run a command with additional filesystem permissions
Run a command with additional filesystem permissions
Run a command with additional secondary groups.
Run a command with additional secondary groups.
Run a command with a non-standard priority.
Run a command with a non-standard priority.
Suggested answer: A, E
asked 18/09/2024
Mir Ali
42 questions
Total 60 questions
Go to page: of 6