Article Title: Introduction to commands for removing file attributes in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Chattr-ais/bin/netstat
When you modify A file with the 'A' attribute, its atime record does not change.
This can avoid some disk I/O processing in the laptop system. Files with the 'A' attribute set can only be opened in add mode for writing.
Only Super Users can set or clear this attribute. Files with the 'C' attribute set are automatically compressed by the kernel on the disk.
Uncompressed data is returned when the file is read.
A write operation on this file will compress the data before saving them to the disk. Files with the 'D' attribute set cannot be backed up by running the dump (8) program. Objects with the 'I' attribute cannot be modified: You cannot delete or rename the object. You cannot create a link to the object, and cannot write any data to the file. Only Super Users can set or clear this attribute. When deleting a file with the 's' attribute set, the data block is cleared and written back to the disk.
When you modify a file with the 's' attribute, the modification is synchronized to the disk. This is the same as the 'sync' Mount Option Applied to the file subsystem. When you delete a file with the 'U' attribute set, the content is saved. This allows you to request the restoration of deleted files.