Free 102-500 Exam Braindumps (page: 17)

Page 17 of 41

Which command will set the local machine's timezone to UTC?

  1. cat UTC > /etc/timezone
  2. ln -s /usr/share/zoneinfo/UTC /etc/localtime
  3. date --timezone=UTC
  4. mv /usr/timezone/UTC /etc

Answer(s): B



Which crontab entry could be used to set the system time at regular intervals?

  1. 1 0 * * * date $d $t $24
  2. 1 0 * * * ntpdate ntp1.digex.net
  3. 1 0 * * * date ntp1.digex.net
  4. 1 0 * * * runcron date ntp1.digex.net
  5. 1 0 * * * settime $d $t $24

Answer(s): B



Which of the following commands can remove a user from a group?

  1. grouprm
  2. groupmod
  3. passwd
  4. usergroups
  5. usermod

Answer(s): E



What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

  1. The user bob is removed from the system's user database.
  2. The user bob's home directory is removed.
  3. The locate database is updated to drop files owned by bob.
  4. All files owned by bob are remove from all mounted filesystems.
  5. In case bob was the last member of a group, that group is deleted.

Answer(s): A,B



Page 17 of 41



Post your Comments and Discuss LPI 102-500 exam with other Community members:

LinuxGuy commented on April 25, 2021
Purchase process quick and smooth, with EXM, PDF and APK file formats provided for test prep
SINGAPORE
upvote