List file attributes
low risk
Shows extended attributes such as immutable (i) and append-only (a) flags on ext filesystems.
| Flag | Meaning |
|---|---|
-R | Recurse |
-a | Include hidden files |
-d | List directories themselves |
lsattr /etc/passwdShow attributes · explain & risk-check →Reference text is hand-written and may be incomplete — check man lsattr for your version. Test destructive commands on a non-production system first.