install — Install Commands

Synopsis

/usr/sbin/install -c dira [-m mode][-u user][-g group][-o][-s] file 
/usr/sbin/install -f dirb [-m mode][-u user][-g group][-o][-s] file 
/usr/sbin/install -n dirc [-m mode][-u user][-g group][-o][-s] file 
/usr/sbin/install -d|-i [-m mode][-u user][-g group][-o][-s] dirx... 
/usr/sbin/install [-m mode][-u user][-g group][-o][-s] file [dirx...] 

Description

The install command is most commonly used in makefiles (see make(1S)) to install a file in a specific location or to create directories within a file system. Each file is installed by being copied into the appropriate directory.

install uses no special privileges to copy files from one place to another. The implications of this are:

  • You must have permission ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.