mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
19 lines
418 B
Markdown
19 lines
418 B
Markdown
# Chmod
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
# Copy permissions from another file.
|
|
# Only available in GNU cp.
|
|
chmod --reference 'reference-file' 'changed-file'
|
|
```
|
|
|
|
## Sources
|
|
|
|
- [18 selected super-useful Linux one-liners]
|
|
|
|
<!-- project's references -->
|
|
<!-- internal references -->
|
|
<!-- external references -->
|
|
[18 selected super-useful linux one-liners]: https://medium.com/codex/18-selected-super-useful-linux-one-liners-398ba6d20f8c
|