LabSim Linux+ 9.5
Your system time is over 30 mins different than the time on the NTP time provider . When you use the ntpd command, the time is not updated. Which ntpd option should you include>
-g
Which hwclock option sets the system time to the current hardware clock time?
-s
You need to set the system date and time using the date command. Which date option should you use?
-s
You want to set the system time with the date command to UTC time. Which date option should you use?
-u
You are managing system time on your Linux computer, and you need to change the setting to point to a local NTP server IP address. Which file should you edit?
/etc/ntp.conf
Which file should you use to configure the hardware clock to use UTC automatically?
/etc/sysconfig/clock
Which file on a Debian Linux distro displays the time zone ?
/etc/timezone
Which directory on a Linux system contains multiple files and directories used for selecting a time zone?
/usr/share/zoneinfo
How can you permanently change the time zone (TZ) environment variable for your shell environment?
Add the TZ variable to the ~/bash_profile
A Linux system can determine the time and date in which of the following ways?
It can use NTP to set time / It can set the system clock to the local time
You have a large TCP/IP network and want to keep hosts' real time clocks synchronized. What protocol should you use?
NTP
For what purpose would you edit the /etc.localtime file?
Set the current time zone.
You need to set the hardware clock to the same value as the system clock. Which command should you use?
hwclock -w
You need to create a symbolic link to the /usr/share/zoneinfo/EST time zone file that permanently alters the time zone for the system. What command should you use?
ln -s /usr/share/zoneinfo/EST /etc/localtime
Which of the following commands will set the system time to match the time server on the network at 192.168.1.10?
netdate
Which of the following commands manage the NTP daemon from the command line?
ntpd
Which of the following NTP configuration utilities is deprecated and should be avoided when possible?
ntpdate
Which of the following represent a cluster of NTP time providers?
pool.ntp.org
You want to configure the NTP daemon to receive time from pool.ntp.org - what entry should you place in the /etc/ntp.conf file?
server pool.ntp.org
Which of the following commands should you use to implement changes in the /etc/ntp.conf file?
service ntpd start
Which command should you use to change the time zone (TZ) environment variable?
tzconfig / tzselect