This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (OT) Where IS?
- From: "Augusto Flavio" <augustoflavioms at yahoo dot com dot br>
- To: <gcc at gcc dot gnu dot org>,"Andrea 'Fyre Wyzard' Bocci" <fwyzard at inwind dot it>
- Date: Fri, 22 Mar 2002 09:06:21 -0300
- Subject: Re: (OT) Where IS?
- References: <5.1.0.14.0.20020322102517.009e5760@popmail.inwind.it>
Humm...
the command readlink is not found...
----- Original Message -----
From: Andrea 'Fyre Wyzard' Bocci <fwyzard@inwind.it>
To: Augusto Flavio <rotter@gmx.co.uk>; <gcc@gcc.gnu.org>
Sent: Friday, March 22, 2002 6:29 AM
Subject: Re: (OT) Where IS?
> At 12:29 AM 3/22/02 -0300, Augusto Flavio wrote:
> >Hello,
> >
> >I want know how i find a link of file and what is path of this link.
> >
> >Exemple:
> >
> >the file: "link" is a link of file x.
> >I want know if the file "link" is link.
> >If (yes)
> > then (what is path of this file?)
> >
> >l--------- link -> /root/x
>
> #! /bin/bash
> [ -L "link" ] && echo "link" is a link to $(readlink "link")
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com