Re: [Hampshire] GNU Linux mnemonics

Top Page

Reply to this message
Author: James Ogden
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] GNU Linux mnemonics
2008/7/23 Victor Churchill <victorchurchill@???>:

> > 2) Creating a symlink:
> >
> > ]#ln -s /usr/local/targetfile .
> >
> > This visual mnemonic illustrates the order in which you type the target
> > file "targetfile" and desired symlink location which can be tricky to
> > remember at first.
>
> I once heard someone say "Link what where." and that has stuck with me.
> It also applies to the mount command ("mount what where") (and
> incidentally also to the grep example you gave : "find what where").
>
> A long time ago, I was told that ln was hardlinked to cp (dunno if that's a

general thing, or just on the systems I was using at the time) I've never
had any doubt about arguments to cp, and I've avoided ln-deleting important
things many times thanks to that advice!

James