Quantcast
Channel: Linux symbolic links: how to go to the pointed to directory? - Super User
Browsing all 4 articles
Browse latest View live

Answer by Kamil Maciorowski for Linux symbolic links: how to go to the...

In bash the cd builtin uses -P and -L switches; pwd understands them in the same way:user@host:~$ ln -s /bin foobaruser@host:~$ cd -L foobar # follow linkuser@host:~/foobar$ pwd -L # print...

View Article



Answer by xenoid for Linux symbolic links: how to go to the pointed to...

Use readlink to resolve the link to its target:cd $(readlink thelink)You may want to define a function in your bash profile:function cdl { local dir=$(readlink -e $1); [[ -n "$dir" ]] && cd...

View Article

Answer by C0deDaedalus for Linux symbolic links: how to go to the pointed to...

I don't know how to achieve it in GUI, but there is a workaround in Command line.Say your symbolic link is :/home/user/Desktop/project/then, You can use readlink command to get resolved symbolic link...

View Article

Linux symbolic links: how to go to the pointed to directory?

I have a project in its own directory:/dir/to/project/I have a symbolic link to that directory on the desktop:/home/user/Desktop/project/When I double click on that link, the directory window that...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images