Linux Command Encyclopedia file management: LN

Source: Internet
Author: User
Keywords Linux file management command encyclopedia
Tags aliyun backup command encyclopedia connect directory file file management files

Feature Description: Connect to a file or directory. &http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;

Syntax: ln [-bdfinsv][-s < tail backup string >][-v < backup >][--help][--version][source file or directory [destination file or directory] or ln [-bdfinsv][-s < Word tail backup string >][-v < backup >][--help][--version][source files or directories ...] [Destination Directory]

Supplemental Note: The LN command is used in a connection file or directory, such as specifying more than two files or directories, and the final destination is an existing directory, and all files or directories previously specified are copied to that directory. If you specify multiple files or directories at the same time, and the last destination is not an existing directory, an error message appears.

Parameters:
-B or--backup deletes, overwriting the backup before the target file.
D-or-F or--directory to establish a hard connection to the directory.
-F or--force forcibly establishes a connection to a file or directory, regardless of whether the file or directory exists.
-I or--interactive ask the user before overwriting the existing file.
-N or--no-dereference the destination directory for symbolic connections as a generic file.
-S or--symbolic a symbolic connection to the source file, not a hard connection.
-s< tail Backup string > or--suffix=< tail backup string > After the target file is backed up with the "-B" parameter, the end of the backup file is prefixed with a backup string, and the preset tail backup string is the symbol "~", which you can change by using the "-S" argument.
The-V or--verbose displays the instruction execution process.
-v< Backup mode > or--version-control=< backup > Use the "-B" parameter to back up the target file, the end of the backup file will be added a backup string, this string can not only be used "-S" parameter change, when the "-V" parameter < Backup methods > Specify different backup methods also produce a backup string with different tails.
--help online Help.
--version Displays version information.

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.