Nguyễn Trường Sinh
Member
Is $HOME same as?
Answer
$HOME and
~ usually refer to the same thing. That is, they are the path to the “user’s home” directory which is of the general form “/home/userName”. When, if ever, do these not refer to the same directory? The ~ is shell dependent while $HOME is not.
Answer
$HOME and
~ usually refer to the same thing. That is, they are the path to the “user’s home” directory which is of the general form “/home/userName”. When, if ever, do these not refer to the same directory? The ~ is shell dependent while $HOME is not.