Linux – chattr

Linux chattr command The chattr command change file attributes on a Linux file system. It provides a higher level of security on files and directories. You can also use this security to prevent important files from accidental deletion. Syntax: chattr [ -RVf ] [ -v version ] [ mode ] files… You can add any attribute to file using + symbol or use – symbol to remove the attribute from the file. Make File/Directory immutable Use +i option with chattr on file to make file unchangeable, This will not allow…

Read More