Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <512EBEF97F02D311B89900A0C9D1776009D590@thor.operations.bluestone.com> From: "Halim, Salman" To: "'cygwin AT sourceware DOT cygnus DOT com '" Subject: resolving symbolic links Date: Tue, 9 Nov 1999 18:16:06 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" 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 AT sourceware DOT cygnus DOT com