whatis stat
stat - display file or file system status
stat - get file status
$stat -c '%a %n' *
[root@vikas pic]# stat -c '%a %n' *
644 121670133471emzSU.jpg
644 1.gif
[other valid options are]
Valid format sequences for file systems:
%a Free blocks available to non-superuser
%b Total data blocks in file system
%c Total file nodes in file system
%d Free file nodes in file system
%f Free blocks in file system
%C - Security context in SELinux
%i File System ID in hex
%l Maximum length of filenames
%n File name
%s Block size (for faster transfers)
%S Fundamental block size (for block counts)
%t Type in hex
%T Type in human readable form
No comments:
Post a Comment