How to create or modify the command for saving files in ar in CentOS

Source: Internet
Author: User
Function description: create or modify a file to be kept, or extract files from the file to be kept. Syntax: ar [-dmpqrtx] [cfosSuvV] [a & lt; member File & gt;] [B & lt; member File & gt;] [I & lt; member Files & gt;] [keep files] [member files] Supplementary Note: ar allows you to collect a large number of files into a single file to be kept. All member files keep their original attributes and permissions. Parameter: command parameter-d: delete the member file in the keep file. -M change

Function description: create or modify a file to be kept, or extract files from the file to be kept.

Syntax: ar [-dmpqrtx] [cfosSuvV] [ <成员文件> ] [B <成员文件> ] [I <成员文件> ] [Keep files] [member files]

Note: ar allows you to collect many files and make them a single file. All member files keep their original attributes and permissions.

Parameters:
Command parameters
-D. delete the member files in the keep file.
-M: change the order in which member files are stored.
-P: displays the content of the member file in the file.
-Q will append the user to the end of the file to be kept.
-R: Insert the file into the storage file.
-T displays the files contained in the kept files.
-X Saves the member files in your own files.
Option parameter
A <成员文件> Insert the file into the specified member file in the keep file.
B <成员文件> Before inserting a file into a specified member file in the keep file.
C. create and keep documents.
F. to prevent too long file names from being compatible with ar commands of other systems, you can use this parameter to cut down the names of long member files to be placed in the files.
I <成员文件> Before inserting a member file specified in the keep file.
O preserve the date on which files are kept.
S if the file to be kept contains the object mode, you can use this parameter to create a symbol table for the file to be kept.
S does not generate a symbol table.
U only inserts new files with a specified date into the keep file.
Detailed information is displayed when the v program is executed.
V displays the version information.


Related Article

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.