[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symlink
On Sat, 13 Jul 2002, Brian Candler wrote:
> On Sat, Jun 29, 2002 at 11:17:01AM +0300, Joseph Begumisa wrote:
> > On Fri, 28 Jun 2002 joelaw at justice.com wrote:
> >
> > > Hi,
> > >
> > > i want to create a symlink from /usr/sbin/sendmail to
> > > /usr/exim/bin/exim, please help confirm if 1 or 2 is
> > > the correct way
> > >
> > > 1) ln -s /usr/sbin/sendmail /usr/exim/bin/exim
> > >
> > > OR
> > >
> > > 2) ln -s /usr/exim/bin/exim /usr/sbin/sendmail
> >
> > 1) is correct. the man page is quite clear.
>
> Ahem, that's not right. If the file '/usr/exim/bin/exim' exists and you want
> to make a new symlink '/usr/sbin/sendmail' which points at it, the syntax is
>
> ln -s /usr/exim/bin/exim /usr/sbin/sendmail
>
> The easy way to remember this is that it's the same way round as if you were
> using 'cp' to make a copy of the file.
>
Pardon me. My understanding was that the source file was
/usr/sbin/sendmail; so if it is the target not the source, then 2) is ok.
Joseph.
-----
This is the afnog mailing list, managed by Majordomo 1.94.5
To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)
This list is maintained by owner-afnog at afnog.org
- References:
- Re: symlink
- From: Brian Candler <B.Candler at pobox.com>