Home > Article > Operation and Maintenance > How to use Linux chattr command and lsattr command
chattr Change file attributes
lsattr file View file attributes
chattr i Lock the file and no user can modify it. ,
chattr a can only append data to the file, but cannot delete it,
The above is the detailed content of How to use Linux chattr command and lsattr command. For more information, please follow other related articles on the PHP Chinese website!