Spread the love

Intro

In this tutorial, we’re going to see how to change the default home directory of a user on Linux. By default, it is /home/username.

We’ll show how to change it for a new user, as well as move the existing content to a new location.

Command

sudo useradd user -m -d /users/directory

A 60 second youtube video on how to do it:

Leave a Reply