resolving symbolic links

Halim, Salman salman@bluestone.com
Tue Nov 9 15:25:00 GMT 1999


hi,

what's a good way to find out (programmatically; either through a command or
a piped series of commands or a function), in bash (if relevant), the actual
path pointed to by a symbolic link.  for example, i have /tmp pointing to
c:\temp -- how can i get 'c:\temp' as output given '/tmp' as input?  i
thought of ls -al /tmp | cut -d'>' -f 2- but that seems a bit of a kludge. .
.

also, please tell me if this is not the forum for such questions.

thank you,

salman.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list