Kishore Bhosale
Kishore Bhosale

Reputation: 569

update the directory name according to user in linux

[hadoop@node2 ~]$ pwd
/home/redhat

My user is Hadoop but still, filename is redhat it must be /home/hadoop

Upvotes: 1

Views: 32

Answers (1)

Hedegare
Hedegare

Reputation: 2047

You can change a user's home directory with the usermod command:

usermod -md /home/hadoop

Upvotes: 1

Related Questions