Copy a file and set destination permissions in one step.
Section: Copy, Move, Rename
Install file with mode
bash
bash
install -m 755 script.sh /usr/local/bin/scriptLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Copy, Move, Rename
Copy directory recursively with preserved metadata
Copy directory trees while preserving timestamps and mode when possible.
Long listing with human sizes
Show detailed directory contents with human-readable sizes.