Home  >  Article  >  Operation and Maintenance  >  How to use Linux chattr command and lsattr command

How to use Linux chattr command and lsattr command

WBOY
WBOYforward
2023-05-15 21:55:041445browse

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,

How to use Linux chattr command and lsattr command

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete