Kitz Forum

Computer Software => Linux => Topic started by: tickmike on January 17, 2013, 12:31:59 PM

Title: Symlink
Post by: tickmike on January 17, 2013, 12:31:59 PM
How do I find out if a file/directory  has a 'symlink' link and how do I find out what it's linked to ?.  :hmm:
Title: Re: Symlink
Post by: broadstairs on January 17, 2013, 12:55:31 PM
How do I find out if a file/directory  has a 'symlink' link and how do I find out what it's linked to ?.  :hmm:

View the directory in a file manager and right click and select properties. On my system there it shows 'Points to' and the actual file and path. Also permissions shows 'link' for all lines as the permissions are for the original file. There's probably a command but right now I'm not sure which  ;)

Stuart
Title: Re: Symlink
Post by: silversurfer44 on January 17, 2013, 01:00:27 PM
konsole->cd <to-directory> ls -l

This is what you may be looking for Stuart.
Title: Re: Symlink
Post by: broadstairs on January 17, 2013, 01:01:58 PM
konsole->cd <to-directory> ls -l

This is what you may be looking for Stuart.

Thanks exactly what I was trying to remember, you can tell I dont use a shell as often as I probably should!

Stuart
Title: Re: Symlink
Post by: tickmike on January 17, 2013, 01:56:45 PM
Thanks must put it in my book for next time  ;D.