LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   concrete path of links (https://www.linuxquestions.org/questions/linux-newbie-8/concrete-path-of-links-164063/)

secprovider 03-30-2004 02:23 AM

concrete path of links
 
On my desktop I have link files like Windows-C.lnk. How can I go to the concrete path which this link refers to?

For example --> /home/X/Desktop/C.lnk --> /mnt/C

Desktop $ cd ?????

Thanks

skunkburner 03-30-2004 06:04 AM

Open a terminal
and type
cd /mnt/C
make sure there is a space between 'cd' and the first '/'
and be aware that in linux the stuff you type into a terminal is case sensitive
(g is NOT the same as G)

secprovider 03-30-2004 06:22 AM

No, no . I do not mean this :-)

I will do $ cd ...C.lnk and this will go to /mnt/C. You see?

Quote:

Originally posted by skunkburner
Open a terminal
and type
cd /mnt/C
make sure there is a space between 'cd' and the first '/'
and be aware that in linux the stuff you type into a terminal is case sensitive
(g is NOT the same as G)

:)

mikshaw 03-30-2004 02:58 PM

if C.lnk is a true symlink (created with "ln -s /mnt/C /home/X/Desktop/C.lnk"), you should be able to do:
~/Desktop $ cd C.lnk

I don't know why it's called C.lnk, though...that sounds like a Windows thing.


All times are GMT -5. The time now is 08:16 PM.