Close

Linux - What is the superuser home dir?

[Updated: Feb 11, 2019, Created: Feb 11, 2019]

Linux Ubuntu 

Superuser's home directory is /root

joe@mint2:~$ echo $HOME
/home/joe
joe@mint2:~$ sudo su
[sudo] password for joe:
root@mint2:/home/joe# echo $HOME
/root