mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 09:35:24 +02:00
chattr: add examples (#16753)
This commit is contained in:
parent
8fa247c3ba
commit
8c2974c4a2
1 changed files with 8 additions and 0 deletions
|
@ -14,3 +14,11 @@
|
|||
- Recursively make an entire directory and contents immutable:
|
||||
|
||||
`chattr -R +i {{path/to/directory}}`
|
||||
|
||||
- Mark a directory and its files to be interpreted in a case-insensitive manner:
|
||||
|
||||
`chattr +F {{path/to/directory}}`
|
||||
|
||||
- Set a file to only allow appending:
|
||||
|
||||
`chattr +a {{path/to/file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue