LN(1) - General Commands Manual # LN(1) - General Commands Manual
NAME # ln - make hard and symbolic links to files
SYNOPSIS # ln [-fhLnPs] source [target]
ln [-fLPs] source … [directory]
DESCRIPTION # The ln utility creates a new directory entry (linked file) which has the same modes as the original file. It is useful for maintaining multiple copies of a file in many places at once without using up storage for the copies; instead, a link “points” to the original copy.
...
READLINK(1) - General Commands Manual # READLINK(1) - General Commands Manual
NAME # readlink - display target of symbolic link on standard output
SYNOPSIS # readlink [-fn] file
DESCRIPTION # The readlink utility when invoked with the pathname of a symbolic link as its argument dereferences the symbolic link and prints the name of target on standard output. If the -f option is not specified and readlink is invoked with an argument other than the pathname of a symbolic link, it exits with a nonzero exit code without printing anything.
...
REALPATH(1) - General Commands Manual # REALPATH(1) - General Commands Manual
NAME # realpath - print the canonicalized absolute pathname
SYNOPSIS # realpath [-q] file
DESCRIPTION # The realpath utility uses realpath(3) to resolve all symbolic links, extra “/” characters and references to /./ and /../ in file, and prints the absolute pathname on standard output.
The options are as follows:
-q
Do not print errors.
EXIT STATUS # The realpath utility exits 0 on success, and >0 if an error occurs.
...
STAT(1) - General Commands Manual # STAT(1) - General Commands Manual
NAME # stat - display file status
SYNOPSIS # stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file …]
DESCRIPTION # The stat utility displays information about the file pointed to by file. Read, write, or execute permissions of the named file are not required, but all directories listed in the pathname leading to the file must be searchable.
...
Ln,
Lchown,
Remove,
Mv,
Rm,
Rename,
Unlink,
Chown,
Lstat,
Chmod,
Du,
Find,
Cp,
Chgrp,
Ls,
Chflags,
Readlink,
Fts_open,
Pax,
Tar,
Symlink SYMLINK(7) - Miscellaneous Information Manual # SYMLINK(7) - Miscellaneous Information Manual
NAME # symlink - symbolic link handling
DESCRIPTION # Symbolic links are files that act as pointers to other files. To understand their behavior, it is necessary to understand how hard links work. A hard link to a file is indistinguishable from the original file because it is a reference to the object underlying the original file name. Changes to a file are independent of the name used to reference the file.
...