Home » mariadb on ubuntu » UNIX/LINUX Command – install

UNIX/LINUX Command – install

Last updated Apr 28, 2021

NAME

install—Copy files and set their attributes; GNU file installer

SYNOPSIS

install [options] [–s] [–strip] source dest
install [options] [–s] [–strip] source… directory
install [options] [–d,–directory] directory…
Options:
[–c] [–g group] [–m mode] [–o owner] [–group=group] [–mode=mode] [–owner=owner] [–help] [–version]

DESCRIPTION

This manual page documents the GNU version of install. install copies files and sets their permission modes and, if possible, their owner and group. Used similarly to cp; typically used in Makefiles to copy programs into their destination directories. It can also be used to create the destination directories and any leading directories, and to set the final directory’s modes. It refuses to copy files onto themselves.

OPTIONS 

Options Description
–c Ignored; for compatibility with old UNIX versions of install.
–d, –directory Create each given directory and its leading directories, if they do not already exist. Set the owner, group, and mode as given on the command line or to the defaults. Also gives any leading directories that are created those attributes. This is different from the SunOS 4.x install, which gives directories that it creates the default attributes.
–g, –group group Set the group ownership of the installed file or directory to the group ID of group (default is process’s current group). group may also be a numeric group ID.
–m, –mode mode Set the permission mode for the installed file or directory to mode, which can be either an octal number, or a symbolic mode as in chmod, with 0 as the point of departure. The default mode is 0755.
–o, –owner owner If run as root, set the ownership of the installed file to the user ID of owner (default is root). owner may also be a numeric user ID.
–s, –strip Strip the symbol tables from installed programs.
–help Print a usage message on standard output and exit successfully.
–version Print version information on standard output and exit successfully.

Related Posts

UNIX/LINUX Command – rsync

UNIX/LINUX Command – rsync

NAME rsync – a fast, versatile, remote (and local) file-copying tool rsync Command SYNOPSIS Local: rsync [OPTION…] SRC… [DEST] Access via remote shell:Pull: rsync [OPTION…] [USER@]HOST:SRC… [DEST]Push: rsync [OPTION…] SRC… [USER@]HOST:DEST Access via rsync...

UNIX/LINUX Command – strip

UNIX/LINUX Command – strip

NAME strip—Discard symbols from object files. SYNOPSIS strip [ -Fbfdname|–target=bfdname ] [ -Ibfdname|–input-target=bfdname ] [ -Obfdname|–output-target=bfdname ] [-Rsectionname|–remove-section=sectionname ] [ -s|–strip-all ] [-S|-g|–strip-debug ][-x|–discard-all...

UNIX/LINUX Command – expand

UNIX/LINUX Command – expand

NAME expand—Convert tabs to spaces SYNOPSIS expand [–tab1[,tab2[,…]]] [–t tab1[,tab2[,…]]] [–i] [—tabs=tab1[,tab2[,…]]] [–initial] [–help] [–version] [file…] DESCRIPTION This manual page documents the GNU version of expand. expand writes the contents of each given...

UNIX/LINUX Command – uuencode

UNIX/LINUX Command – uuencode

NAME uuencode—Encode a binary fileuudecode—Decode a file created by uuencode SYNOPSIS uuencode [-m] [ file ] nameuudecode [-o outfile] [ file ]… DESCRIPTION uuencode and uudecode are used to transmit binary files over transmission mediums that do not support other...

Follow Us

Our Communities

The Ultimate Managed Hosting Platform
Load WordPress Sites in as fast as 37ms!

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

9 − three =

Shares