Lpi Linux Professional Institute BSD Installation and Software Management 702 (702-100) Free Practice Test
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
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
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
Which of the following programs can be used to enumerate all responsive hosts on a subnet?
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 3
What subnet mask is used on network 192 168 32 0 in the following output?
Fxp0: flags=8843 <UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST> mtu 1500 options=8 inet 192.168.50.162 netmask OxffffeOOO broadcast 192.168.63.255 ether 00:09:6B: 13:42:9f media: Ethernet autoselect (lOObaseTX <full-duplex>) status: active
Fxp0: flags=8843 <UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST> mtu 1500 options=8 inet 192.168.50.162 netmask OxffffeOOO broadcast 192.168.63.255 ether 00:09:6B: 13:42:9f media: Ethernet autoselect (lOObaseTX <full-duplex>) status: active
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
Which option of the crontab command opens the current user's crontab in an editor?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
Which command locks the user account bob on a FreeBSD system?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
Which command sends the contents of the file myconfigfile by email to me@mycompany. com?
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
Which command shows the current user's group memberships?
Correct Answer: E
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).