< Previous | Contents | Next >
ln – Create Links
The ln command is used to create either hard or symbolic links. It is used in one of two ways:
ln file link
ln file link
to create a hard link, and:
ln -s item link
ln -s item link
to create a symbolic link where “item” is either a file or a directory.