How do I log into my home directory?
Answer
4 Answers. Try cd /
root. ~ is normally just a shorthand for the
home directory, so if you are the regular
user person then cd ~ is the same as cd /
home /person . Basically, you are still logged in with your regular
user but that one single command after -s is executed by another
user (
root in your case).
Answer
4 Answers. Try cd /
root. ~ is normally just a shorthand for the
home directory, so if you are the regular
user person then cd ~ is the same as cd /
home /person . Basically, you are still logged in with your regular
user but that one single command after -s is executed by another
user (
root in your case).