Commit 4bc507
2026-08-13 23:27:50 Niklas Polke: Create INSTALL| /dev/null .. linux/install.md | |
| @@ 0,0 1,23 @@ | |
| + | # INSTALL |
| + | |
| + | :::info |
| + | Usage: install [OPTION]... [-T] SOURCE DEST |
| + | |
| + | or: install [OPTION]... SOURCE... DIRECTORY |
| + | |
| + | or: install [OPTION]... -t DIRECTORY SOURCE... |
| + | |
| + | or: install [OPTION]... -d DIRECTORY |
| + | ::: |
| + | |
| + | ## example |
| + | |
| + | ```bash |
| + | sudo install -d -o root -g nano -m 2750 /var/backups/nanopi |
| + | ``` |
| + | |
| + | ### options |
| + | - d create all components of the specified directories |
| + | - o/--owner= set ownership (super-user only) |
| + | - g/--group= set group ownership, instead of process' current group |
| + | - m/--mode= set permission mode (as in chmod), instead of rwxr-xr-x |
