symbolic links

Neil Hoggarth njh at kernighan.demon.co.uk
Sat Sep 21 11:43:33 BST 2002


On Fri, 20 Sep 2002, Jon Schneider wrote:

> ln -s [thing being pointed to] [where to put the link]

A lot of people find "ln" non-intuitive: the way to remember it is that it
is the same order of arguments that one would use as if one were copying
or moving the original:

  cp foo bar
  mv foo bar
  ln foo bar

all create a new filesystem object "bar" (or "bar/foo" if "bar" is a
pre-existing directory) from source "foo".

Regards,

Neil.






More information about the Ukfreebsd mailing list