mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
21 lines
371 B
Markdown
21 lines
371 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]
|
|
|
|
<!--
|
|
References
|
|
-->
|
|
|
|
<!-- Others -->
|
|
[18 selected super-useful linux one-liners]: https://medium.com/codex/18-selected-super-useful-linux-one-liners-398ba6d20f8c
|