Free 102-500 Questions for Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 102-500 Exam as PDF & Practice Test Engine
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
Correct Answer:
hwclocksbinhwclockusrsbinhwclock
Explanation:
The command that is used to sync the hardware clock to the system clock is:
hwclock --systohc
This command copies the current system time to the hardware clock, which runs even when the system is shut down. It is equivalent to the command hwclock -w12. The hardware clock is also called the BIOS clock or the RTC (Real Time Clock)3.
Explanation:
The command that is used to sync the hardware clock to the system clock is:
hwclock --systohc
This command copies the current system time to the hardware clock, which runs even when the system is shut down. It is equivalent to the command hwclock -w12. The hardware clock is also called the BIOS clock or the RTC (Real Time Clock)3.
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
Correct Answer: A
Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
On a machine running serval X servers. how do programs identify the different instances of theX11 server?
Correct Answer: D
Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
Correct Answer: B
Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:
Correct Answer: E
Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)
Correct Answer:
etcatdeny
Explanation:
The /etc/at.deny file specifies the user accounts that can NOT submit jobs via at or batch. The format of the file is a list of usernames, one on each line. Whitespace is not permitted. The superuser may always use at. If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use at. If /etc/at.allow does not exist, /etc/at.deny is checked12. The at and batch commands use the files /usr/lib/cron/at.allow and /usr/lib/cron/at.deny to restrict usage on some systems3. Reference:
at.allow(5) - Linux man page
at.deny(5) [linux man page] - The UNIX and Linux Forums
The at.allow and at.deny files - IBM
Explanation:
The /etc/at.deny file specifies the user accounts that can NOT submit jobs via at or batch. The format of the file is a list of usernames, one on each line. Whitespace is not permitted. The superuser may always use at. If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use at. If /etc/at.allow does not exist, /etc/at.deny is checked12. The at and batch commands use the files /usr/lib/cron/at.allow and /usr/lib/cron/at.deny to restrict usage on some systems3. Reference:
at.allow(5) - Linux man page
at.deny(5) [linux man page] - The UNIX and Linux Forums
The at.allow and at.deny files - IBM
What is true regarding the command sendmail?
Correct Answer: D
Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
Correct Answer: A,E
Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
0
0
0
10
