exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 7 question 17 discussion

Actual exam question from CompTIA's LX0-104
Question #: 17
Topic #: 7
[All LX0-104 Questions]

FILL BLANK -
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)

Show Suggested Answer Hide Answer
Suggested Answer: /usr/share/zoneinfo/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
The system's timezone is typically set by linking /etc/localtime to an appropriate file in the /usr/share/zoneinfo/ directory. In the /usr/share/zoneinfo/ directory, you will find a hierarchy of directories and files that define the various time zones available on your system. To set the system's timezone, you create a symbolic link from /etc/localtime to the appropriate file in this directory. For example, to set the timezone to US/Pacific, you would run the following command: ln -sf /usr/share/zoneinfo/US/Pacific /etc/localtime This sets up a symbolic link from /etc/localtime to /usr/share/zoneinfo/US/Pacific, which is the file that defines the Pacific Time Zone. The -sf option specifies to create a symbolic link, and to force the creation of the link even if the target file already exists.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago