ln
OS/161 Reference Manual
Name
ln - link files
Synopsis
/bin/ln oldfile newfile
/bin/ln -s oldfile newfile
Description
ln creates links to files. The first usage creates a hard link, that
is, an additional name for the same file. The second
usage, with the -s option, creates a symbolic link, a special
filesystem entry that redirects accesses back to the first original
file.
The symlink created is of the form newfile -> oldfile.
Requirements
ln uses the following syscalls:
As of this writing neither hard links nor symbolic links are a
required part of any assignment. If as part of assignment 5 you
implement symbolic links, once done, ln -s should function properly.
ln is able to create symlinks even if hard links are not implemented,
and vice versa.
See Also
cp, mv