PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will you use to change the home directory of a user and move all of its conten

Which of the following commands will you use to change the home directory of a user and move
all of its contents to the new home directory?

PrepAway - Latest Free Exam Questions & Answers

A.
usermod -d -m

B.
usermod -g

C.
usermod -o -u

D.
usermod -u

Explanation:

The usermod -d -m command is used to change the home directory of a user as well as move all
of its contents to the new home directory.


Leave a Reply