ln source_file target_file ln source_file ... target_dir
ln
makes hard links.$ ln -s file1 sfile1
$ ls -al -rw-r--r-- 2 mtitek mtitek 8163 10 Jan 21:04 file1 lrwxrwxrwx 1 mtitek mtitek 5 10 Jan 21:04 sfile1 -> file1
$ ls -al 4313560874 -rw-r--r-- 2 mtitek mtitek 8163 10 Jan 21:04 file1 4313560878 lrwxrwxrwx 1 mtitek mtitek 5 10 Jan 21:04 sfile1 -> file1
$ ln -s file1 file2 folder/
$ ls -al folder/ lrwxr-xr-x 1 mtitek mtitek 5 10 Jan 21:04 file1 -> file1 lrwxr-xr-x 1 mtitek mtitek 5 10 Jan 21:04 file2 -> file2
$ ln file1 hfile1
$ ls -al -rw-r--r-- 2 mtitek mtitek 8163 10 Jan 21:04 file1 -rw-r--r-- 2 mtitek mtitek 8163 10 Jan 21:04 hfile1
$ ls -ali 4313560874 -rw-r--r-- 2 mtitek mtitek 8163 10 Jan 21:04 file1 4313560874 -rw-r--r-- 2 mtitek mtitek 8163 10 Jan 21:04 hfile1
-s |Create a symbolic link. -f |If the target file already exists, then unlink it so that the link may occur. |The -f option overrides any previous -i options. -i |If the target file already exists, then ask for user confirmation ('y' or 'Y') before unlinking it so that the link may occur. |The -i option overrides any previous -f options. -v |Cause ln to be verbose, showing files as they are processed.