I created a symlink in my home folder to another directory:
$ pwd
/home/user1
$ ln -s /usr/local/dir/ shortcut
$ ls -l
................................... shortcut -> /usr/local/dir/
$ cd shortcut
$ pwd
/home/user1/shortcut
I do end up in that dir so I can see all the files in there but the pwd
is confusing and could cause issues. Is there a better way to this so that it acts a shortcut and actually shows /usr/local/dir
when I go into cd shortcut
instead of showing the new path?