🧀 Learn Linux

Master · Permissions and Links

chattr: Modify file attribute flags

Syntax

chattr [+-] flag file

Examples

sudo chattr +i app.conf

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands