Detailed explanation of the latest tool program commands for maintaining symbolic connections using symlinks in CentOS

Source: Internet
Author: User

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.