---

5 “chattr” Commands to Make Important Files IMMUTABLE (Unchangeable) in Linux

chattr (Change Attribute) is a command line Linux utility that is used to set/unset certain attributes to a file in Linux system to secure accidental deletion or modification of important files and folders, even though you are logged in as a root user.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis