LPI
702-100
Q1:
Which command finds all directories within the current user's home directory?
○
A
find - -type d○
B
find. -dir○
C
find / -d | home○
D
find -uid myname○
E
find -d home
LPI
702-100
Q2:
Which option of the crontab command opens the current user's crontab in an editor?
○
A
-w○
B
-i○
C
-vi○
D
-rw○
E
-e
LPI
702-100
Q3:
When replacing the system MTA with another mail server program, which configuration file needs to be updated with the path to the new MTA?
○
A
mail.conf○
B
mailer, conf○
C
mta.conf○
D
postfix.conf○
E
sendmail. conf
LPI
702-100
Q4:
Which of the following lines stems from the output of last?
○
A
3:26PM up 1:58, 2 users, load averages: 0.49, 0.43, 0.40○
B
May 11 19:34:24 fbsd login [793]: login on ttyv0 as root○
C
root ttyv0 Sat May 18 13:35 still logged in○
D
763 v1 Is+ 0:00-00 /usr/libexec/getty Pc ttyv1○
E
FreeBSD 12.0-RELEASE r341666 GENERIC
LPI
702-100
Q5:
Which line in a cron job runs myscript once per hour?
○
A
***** /pathto/myscript○
B
0 * * * * /pathto/myscript○
C
* 0 * * * /pathto/myscript○
D
* * o * * /pathto/myscript○
E
* * * o * /pathto/myscript