Lpi 702-100 Linux Professional Institute BSD Specialist Online Training
Lpi 702-100 Online Training
The questions for 702-100 were last updated at Dec 19,2024.
- Exam Code: 702-100
- Exam Name: Linux Professional Institute BSD Specialist
- Certification Provider: Lpi
- Latest update: Dec 19,2024
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
- A . disclosure only
- B . non-disclosure only
- C . non-disclosure only
- D . disclosure and non-disclosure only
- E . non-disclosure and non-disclosure Only
What does S l represent in the following lines from a Bourne shell script:
#! /bin/sh
cp SI 52
- A . A control operator.
- B . An environmental variable.
- C . A function.
- D . A positional parameter.
- E . The shebang.
Which of the following excerpts is a valid if condition in the Bourne shell?
A)
B)
C)
D)
- A . Option A
- B . Option B
- C . Option C
- D . Option D
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?
- A . file mybackup
- B . Is -1 mybackup
- C . tar -t mybackup
- D . whatis mybackup
- E . touch mybackup
Which BSD command lists, adds, or deletes swap devices?
- A . diskcontro1
- B . mkswap
- C . swap
- D . swapct1
- E . swapinfo
Which of the following tar options handle compression’? (Choose TWO correct answers)
- A . -x
- B . -c
- C . -z
- D . -J
- E . -v
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)
How often does? match the preceding expression in a regular expression?
- A . Two or more times
- B . Exactly one time
- C . Any number of times
- D . Zero or one times
- E . One or more times
What command creates a new directory? (Specify ONLY the command without any path or parameters.)
What is the purpose of the nice command’?
- A . Run a command with the permissions of another user
- B . Run a command with limited access to a specified directory
- C . Run a command with additional filesystem permissions
- D . Run a command with additional secondary groups.
- E . Run a command with a non-standard priority.