Symlinks (symboliclinks) function description: a tool for maintaining symbolic connections. Syntax: symlinks [-cdrstv] [Directory] Supplement: symlinks checks the symbolic connections in the directory and displays the symbolic connection type. The following is a symbolic connection type that can be judged by symlinks: absolute: the symbolic connection uses an absolute path. Dangling: the original file does not exist. Lengthy: the path of the symbolic connection contains redundant "../". Messy
Symlinks (symbolic links)
Function description: tool for maintaining symbolic connections.
Syntax: symlinks [-cdrstv] [Directory]
Note: symlinks can check the symbolic connection in the directory and display 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.
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.