The following shows a command line session with lsattr
and stat commands which helps in listing file attributes.
$lsattr -v colors 1936034688 -------------e-- colors $lsattr colors -------------e-- colors $ls -l colors -rw-r--r-- 1 jeffrin jeffrin 173 Feb 17 21:46 colors $stat colors File: ‘colors’ Size: 173 Blocks: 8 IO Block: 4096 regular file Device: 801h/2049d Inode: 3672604 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ jeffrin) Gid: ( 1000/ jeffrin) Access: 2014-03-30 21:42:28.074551288 +0530 Modify: 2014-02-17 21:46:33.476488095 +0530 Change: 2014-02-17 21:46:33.476488095 +0530 Birth: - $ls -R colors colors $lsattr -R colors -------------e-- colors $lsattr resume-micro -------------e-- resume-micro $lsattr beautifulwork-sorting/ -------------e-- beautifulwork-sorting/gnu-c -------------e-- beautifulwork-sorting/TODO -------------e-- beautifulwork-sorting/README -------------e-- beautifulwork-sorting/bubblesort.php -------------e-- beautifulwork-sorting/php-hypertext-processor -------------e-- beautifulwork-sorting/ruby $lsattr /bin/ls -------------e-- /bin/ls $lsattr /bin/date -------------e-- /bin/date $lsattr -v /bin/date 18446744072723245045 -------------e-- /bin/date $stat /bin/date File: ‘/bin/date’ Size: 64168 Blocks: 128 IO Block: 4096 regular file Device: 801h/2049d Inode: 14418067 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2014-04-06 20:48:40.575978902 +0530 Modify: 2013-07-21 03:22:44.000000000 +0530 Change: 2014-02-17 22:49:42.956708864 +0530 Birth: - $
http://unix.stackexchange.com/questions/32256/whats-the-meaning-of-output-of-lsattr
The ‘e’ attribute indicates that the file is using extents for mapping the blocks on disk.
Showing about hidden directories
$lsattr -a --------------e---- ./.config --------------e---- ./Public --------------e---- ./.atom --------------e---- ./.profile --------------e---- ./.gitconfig --------------e---- ./. --------------e---- ./Templates --------------e---- ./Firefox_wallpaper.png --------------e---- ./.ICEauthority --------------e---- ./.. --------------e---- ./.pki --------------e---- ./beautifulwork --------------e---- ./.gconf --------------e---- ./.local --------------e---- ./.bash_logout --------------e---- ./.mozilla --------------e---- ./.cache --------------e---- ./.gimp-2.8 --------------e---- ./.gnupg --------------e---- ./.emacs.d --------------e---- ./Downloads --------------e---- ./.bash_history --------------e---- ./Documents --------------e---- ./.bashrc --------------e---- ./Music --------------e---- ./Videos --------------e---- ./avocado --------------e---- ./.bashrc~ --------------e---- ./Pictures --------------e---- ./.ssh --------------e---- ./Desktop --------------e---- ./communications201703-dl.pdf $