Uploaded by darennoblin

LPI BSD Specialist 702-100 Exam Questions

advertisement
Pass LPI 702-100 Exam with Real Questions
LPI 702-100 Exam
Linux Professional Institute BSD Specialist
https://www.passquestion.com/702-100.html
35% OFF on All, Including 702-100 Questions and Answers
Pass LPI 702-100 Exam with PassQuestion 702-100 questions and
answers in the first attempt.
https://www.passquestion.com/
1/4
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
A. disclosure only
B. non-disclosure only
C. non-disclosure only
D. disclosure and non-disclosure only
E. non-disclosure and non-disclosure Only
Answer: E
2.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.
Answer: D
3.Which of the following excerpts is a valid if condition in the Bourne shell?
A)
B)
C)
D)
2/4
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
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?
A. file mybackup
B. Is -1 mybackup
C. tar -t mybackup
D. whatis mybackup
E. touch mybackup
Answer: A
5.Which BSD command lists, adds, or deletes swap devices?
A. diskcontro1
B. mkswap
C. swap
D. swapct1
E. swapinfo
Answer: D
6.Which of the following tar options handle compression'? (Choose TWO correct answers)
A. -x
B. -c
C. -z
D. -J
E. -v
Answer: C, D
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)
Answer:
8.How often does? match the preceding expression in a regular expression?
3/4
A. Two or more times
B. Exactly one time
C. Any number of times
D. Zero or one times
E. One or more times
Answer: D
9.What command creates a new directory? (Specify ONLY the command without any path or
parameters.)
Answer:
10.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.
Answer: A, E
11.Which command sends the contents of the file myconfigfile by email to me@mycompany. com?
A. cat myconfigfile I mail me@mycompany.com
B. cat myconfigfile > me@mycompany.com
C. mail me@mycompany.com I cat myconfigfile
D. mail me@mycompany.com > cat myconfigfile
E. mail myconfigfile -r me@mycompany.com
Answer: A
4/4
Download