How to change user default home directory in Linux?

You can use Linux command usermod -d or –move-home options to change user default home directory in Linux. If you want to copy the content of the existing home directory to new home directory, use -m option.

Leave a Reply