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?
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.