[SATLUG] symlink <-> absolute path

Robert Pena robert.pena at gmail.com
Fri Jun 23 08:25:12 CDT 2006


I don't think that there is a command to do that because the inodes are the
same.

On 6/23/06, Borries Demeler <demeler at biochem.uthscsa.edu> wrote:
>
> Is there a unix command that will give me the absolute path
> for a symlinked directory?
>
> Example:
>
> ln -si /dir1/dir2 /tmp/.
>
> pwd
>
> /tmp/dir2
>
>
> I want to know the absolute path - so I need a command that returns:
>
> /dir1/dir2
>
> Thanks, -Borries
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
>



-- 
A good programmer is someone who looks both ways before crossing a one-way
street. - Doug Linder


More information about the SATLUG mailing list