Linux command detailed-install

Source: Internet
Author: User

Install the role of a command is to install or upgrade software or to back up data, and its use rights are for all users.

1 . Command format:

(1) Install [ options ] ... Source Destination
(2) Install [ options ] ... Source ... Catalogue
(3) Install -d [ options ] ... Catalogue ...

2 . Command function:

Install the role of a command is to install or upgrade software or to back up data, and its use rights are for all users.

in the first two formats, the<Source>Copy to<Destination>or a multi-a<Source>file is copied to the existing<Catalogue>, while setting the permission mode and owner/The owning group. In the third format, all of the specified directories and their main items are createdThe record. The parameters that must be used for the long option are also required when using the short option.

3 . Command parameters:

--Backup[=control]: Make a backup of each existing destination file.
-b: Similar--Backup, but does not accept any parameters.
-C:(This option is not processed).
-D,--Directory: All parameters are processed as directories, and all home directories for the specified directory are created.
-D: Create<Destination>before all the home directories, and then<Source>Copy to<Destination>, which is useful in the first use format.
-g,--group=Group: Set the owning group by itself, not the group to which the process is currently owned.
-m,--mode=mode: Self-setting permission mode (likechmod), but notrwxr-XR-x.
-o,--owner=owner: Self-setting owner (for super users only).
-P,--Preserve-Timestamps: To<Source>access to Files/the time attribute of the modified time as the corresponding destination file.
-s,--Strip: WithStripcommand Deletesymbol Table, only applies to the first and second use formats.
-S,--suffix=suffix: Specify the backup file by itself<suffix>.
-v,--verbose: Process each file/the name is printed in the catalog.
-- Help: Displays this help message and leaves.
--version: Displays version information and leaves.

Install? -Copy files and set attributes

Install while making the copy, set the attributes.

so try to use install in Makefile command.

4 . Usage Examples:

Linux command detailed-install

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.