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

LPI 702-100 Practice Test - Questions Answers, Page 2

Add to Whishlist

List of questions

Question 11

Report Export Collapse

Which command sends the contents of the file myconfigfile by email to me@mycompany. com?

cat myconfigfile I mail [email protected]
cat myconfigfile I mail [email protected]
cat myconfigfile > [email protected]
cat myconfigfile > [email protected]
mail [email protected] I cat myconfigfile
mail [email protected] I cat myconfigfile
mail [email protected] > cat myconfigfile
mail [email protected] > cat myconfigfile
mail myconfigfile -r [email protected]
mail myconfigfile -r [email protected]
Suggested answer: A
asked 18/09/2024
MÑrio Afonso
33 questions

Question 12

Report Export Collapse

While in the csh or tcsh shell, which command changes the timezone environment variable to GMT?

export TZ=GMT
export TZ=GMT
setenv TZ GMT
setenv TZ GMT
env TZ=GMT
env TZ=GMT
TZ=GMT; export TZ
TZ=GMT; export TZ
environ TZ GMT
environ TZ GMT
Suggested answer: B
asked 18/09/2024
Mohammed Hamid
50 questions

Question 13

Report Export Collapse

While using vi as superuser. the attempt to save a file while quitting the editor leads to an error indicating that the file is read-only. How can the file permissions be overridden to save the edits to the file and quit the editor?

: fw!
: fw!
: fwq
: fwq
: ql
: ql
: wq
: wq
: wq!
: wq!
Suggested answer: E
asked 18/09/2024
Roman Roman
39 questions

Question 14

Report Export Collapse

Which command shows all processes owned by the user bob?

who -1 bob
who -1 bob
pgrep -u bob
pgrep -u bob
ps -o -a bob
ps -o -a bob
top bob
top bob
last -p bob
last -p bob
Suggested answer: B
asked 18/09/2024
Rehan Malik
54 questions

Question 15

Report Export Collapse

On BSD systems that provide an interactive adduser script, which configuration file stores the default adduser settings?

adduser.conf
adduser.conf
login, conf
login, conf
pw.conf
pw.conf
user.conf
user.conf
usermgmt. conf
usermgmt. conf
Suggested answer: A
asked 18/09/2024
deborah lockett
38 questions

Question 16

Report Export Collapse

Which command locks the user account bob on a FreeBSD system?

audit_user -1 bob
audit_user -1 bob
lockuser bob
lockuser bob
pw lock bob
pw lock bob
usermod lock bob
usermod lock bob
vipw lock bob
vipw lock bob
Suggested answer: B
asked 18/09/2024
Ana Santos
49 questions

Question 17

Report Export Collapse

Which file on a BSD system defines the printers which are available by the Ipr printing system'? (Specify the full name of the file including path)

LPI 702-100 image Question 17 52512 09182024213335000000

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

LPI 702-100 image Question 17 explanation 52512 09182024213335000000

asked 18/09/2024
Donald Geddis
52 questions

Question 18

Report Export Collapse

Which line in a cron job runs myscript once per hour?

***** /pathto/myscript
***** /pathto/myscript
0 * * * * /pathto/myscript
0 * * * * /pathto/myscript
* 0 * * * /pathto/myscript
* 0 * * * /pathto/myscript
* * o * * /pathto/myscript
* * o * * /pathto/myscript
* * * o * /pathto/myscript
* * * o * /pathto/myscript
Suggested answer: B
asked 18/09/2024
samer salami
39 questions

Question 19

Report Export Collapse

Which of the following lines stems from the output of last?

3:26PM up 1:58, 2 users, load averages: 0.49, 0.43, 0.40
3:26PM up 1:58, 2 users, load averages: 0.49, 0.43, 0.40
May 11 19:34:24 fbsd login [793]: login on ttyv0 as root
May 11 19:34:24 fbsd login [793]: login on ttyv0 as root
root ttyv0 Sat May 18 13:35 still logged in
root ttyv0 Sat May 18 13:35 still logged in
763 v1 Is+ 0:00-00 /usr/libexec/getty Pc ttyv1
763 v1 Is+ 0:00-00 /usr/libexec/getty Pc ttyv1
FreeBSD 12.0-RELEASE r341666 GENERIC
FreeBSD 12.0-RELEASE r341666 GENERIC
Suggested answer: C
asked 18/09/2024
Christopher Fiotes
40 questions

Question 20

Report Export Collapse

When replacing the system MTA with another mail server program, which configuration file needs to be updated with the path to the new MTA?

mail.conf
mail.conf
mailer, conf
mailer, conf
mta.conf
mta.conf
postfix.conf
postfix.conf
sendmail. conf
sendmail. conf
Suggested answer: E
asked 18/09/2024
Dinuka Darshana
48 questions
Total 60 questions
Go to page: of 6