Install- Linux will learn 60 commands

1. Role

Role install command is to install or upgrade software or backup data, its usage rights for all users.

2. Format

(1) install [options] source destination ...

(2) install [options] source ... directory ...

(3) install -d [option] ... directory ...

In the first two formats, will <source> Copy to <destination> Copy or more <Source> existing file to <directory> while setting permission modes and owner / group belongs. In the third format, will create all the specified directory and their home directory. Long option must be used when using the parameters short options too.

3. The main parameters

--backup [= CONTROL]: for each backup destination file that already exists.

-b: Similar --backup, but does not accept any parameters.

-c :( This option is not processed).

-d, - directory: All parameters are treated as a directory, and will create all the home directory of the specified directory.

-D: Create all home directories <destination> before, then <source> Copy to <destination>; useful first use format.

-g, - group = group: set their own respective groups, rather than the current process belongs to the group.

-m, - mode = mode: mode setting authority itself (like chmod), instead rwxr-xr-x.

-o, - owner = owner: the owner of the self-setting (only for the super user).

-p, - preserve-timestamps: at <source> file access / modification time as the time corresponding destination file attributes.

-s, - strip: strip command with the delete symbol table, only applies to the first and second use format.

-S, - suffix = Suffix: Specifies self <suffix> backup files.

-v, - verbose: print name when processing each file / directory.

--help: display this help and exit.

--version: display version information and exit.

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11107029.html