shellspells beta

ln

ln [OPTION]... [-T] TARGET LINK_NAME   (1st form)
ln [OPTION]... TARGET                  (2nd form)
ln [OPTION]... TARGET... DIRECTORY     (3rd form)
ln [OPTION]... -t DIRECTORY TARGET...  (4th form)

ln creates a hard or symbolic link to a file.

Links are used extensively in UNIX filesystems.

Examples

Create a hard link

ln ripley hicks

Create a symbolic link

ln -s ripley hicks