[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: symbolic links



> -----Original Message-----
> From: Mike Egglestone [mailto:megglestone@sd57.bc.ca]
> Sent: segunda-feira, 26 de Novembro de 2001 17:40
> To: debian-user@lists.debian.org
> Subject: symbolic links
> 
> 
> Hello,
> 
> I was running this command:
> 
> ls -l
> 
> in here:
> 
> /var/spool/
> 
> The file "mail" showed a link to somewhere, here's the output 
> from mail
> 
> .....Apr 1 2001 mail -> ../mail
> 
> My question:
> I'm guessing that the file "mail" is linked to here: /var/mail
> but the above output doesn't tell me that.

Yes it does; .. means the parent dir, and so /var/spool/mail is a symlink to
../mail, i.e. /var/mail (since /var is
the parent fir of /var/spool). It's a relative symlink.

cheers,

fsm

--
Frederico S. Muñoz
Cap Gemini Ernst & Young : fmunoz@capgemini.pt
IIES : frederico.s.munoz@seg-social.pt
Debian Project: fsmunoz@debian.org

**
Ever noticed something? Unix comes with compilers. Windows comes with
Solitaire.
**
  -Adep
 



Reply to: