Archive

Posts Tagged ‘lsattr’

Second extended file system: File attributes explained.

January 8th, 2009 No comments





How to make a file unchangeable or unalterable (only for ext2/ext3 file systems)

December 25th, 2008 No comments

If you have a file that you want nobody can change it, you shall type the following command into a shell

# sudo chattr +i filename

You can check the attributes using the following command:

# lsattr

----i------------- ./gg1.txt
 

Statistical data collected by Statpress SEOlution (blogcraft).