Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 384 Bytes

move_home_dir.md

File metadata and controls

8 lines (7 loc) · 384 Bytes

Moving the home directory to another directory

This command below moves all files and directories in the current home directory to a new directory /newhome/<username>. Before entering the following command, no process must be run by the user named <username>.

sudo usermod -d /newhome/<username> -m <username>

Reference