Symlinks checks the symbolic connections in the directory and displays the symbolic connection type. The following are the types of symbolic connections that can be judged by symlinks:
Absolute: the absolute path is used for symbolic connections.
Dangling: the original file does not exist.
Lengthy: the path of the symbolic connection contains redundant "../".
Messy: The path of the symbolic connection contains redundant "/".
Other_fs: the original file is located in another file system.
Relative: the relative path is used for symbolic connections.
Syntax
Symlinks [-cdrstv] [Directory]
Parameters:
-C converts an absolute path to a relative path.
-D remove the dangling-type symbolic connections.
-R: check the symbolic connections in all subdirectories of the Directory.
-S checks the lengthy-type symbolic connections.
-T and-c will show how to convert the absolute path symbolic link to a relative path, but will not actually convert it.
-V displays all types of symbolic connections.