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

Re: Soft link confusion



On Mon, 2021-08-30 at 10:18 -0300, Eduardo M KALINOWSKI wrote:
> On 29/08/2021 21:10, Greg Wooledge wrote:
> > The syntax is:  ln -s TARGET LINKNAME
> > 
> > I.e. you specify the existing thing first, and the name of the link that
> > you want to create last.
> 
> If you need a mnemonic, this is just like cp.
> 
> $ cp ORIGINAL NEW
> 
> creates NEW as a copy from ORIGINAL. Similarly,
> 
> $ ln -s ORIGINAL NEW
> 
> creates a link NEW pointing to ORIGINAL.
> 

Same order as for 'mount' command too.
I remember the argument order as WHAT WHERE

mount WHAT WHERE
cp WHAT WHERE
ln WHAT WHERE

-- 
Tixy





Reply to: