CodePudding user response:
~ is not equal to home/home/current_user_name is ~
Under the ~ don't you just go in
CodePudding user response:
The PWD to view the current path to the location of the- the default is the user's home directory
You are using root login directory is in/root/