where a symlink points to

lada-h8kxHjy+vg4AvxtiuMwx3w at public.gmane.org lada-h8kxHjy+vg4AvxtiuMwx3w at public.gmane.org
Mon Jun 21 00:52:57 UTC 2004




>Hi everyone,
>
>Is where a way to find a real path where a symlink leads to? Say, I have
>/www/domainx.com -> /usr/home/domainx.com
>
>how to get /usr/home/domainx.com from an application? I'm looking for
>a solution for Perl or C code. I mean a better one than parsing output of
>'ls -l' ;)
>
>Good luck,
>Alex

man 2 readlink

Lada

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list