LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ln location (https://www.linuxquestions.org/questions/linux-general-1/ln-location-156692/)

john8675309 03-12-2004 08:11 AM

ln location
 
when I do a ln -s /the/file /to/file

is there away that I can find out /the/file by running a command on the new ln to/file??


--John

JZL240I-U 03-12-2004 08:20 AM

Sure (if I understood okay):

Code:

ls -l
that's (small L)s -(small L)

If you have set a color scheme on default you get a turqoise link name and a little arrow to the /to/file.

trickykid 03-12-2004 09:32 AM

Yeah, you can see the path of the link if you do a:

ls -al <name/path to file>

john8675309 03-12-2004 11:34 AM

Geez I should have known that I guess I was just having one of my moments


All times are GMT -5. The time now is 04:37 PM.