Posted: . At: 3:49 PM. This was 1 year ago. Post ID: 17068
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Always read the instructions carefully.


Always read instructions carefully. Sure, ~ means the home directory, but it is the current home directory of a user. Each user has a different home directory. Not the 🧌😐 directory.

This is a home directory.

(base) jason@jason-Lenovo-H50-55:~$ ls -hula /home/
total 20K
drwxr-xr-x  5 root     root     4.0K Nov 19 13:09 .
drwxr-xr-x 20 root     root     4.0K Nov 19 13:09 ..
drwxr-xr-x  2 cudauser cudauser 4.0K Nov 16 09:14 cudauser
drwxr-xr-x 33 jason    jason    4.0K Nov 19 07:52 jason
drwxr-xr-x  2 mike     mike     4.0K Nov 16 09:14 mike

And it has a few user home directories therein. So the ~ directory actually leads to the actual home folder of the current user.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.