stat¶
Get currently logged in console user's shortname¶
Nicely display permissions in octal format with filename¶
View Owner, Group & Permissions.¶
STAT Function showing ALL info, stat options, and descriptions¶
statt(){ C=c;stat h|sed '/Th/,/NO/!d;/%/!d'|while read l;do p=${l/% */};[ $p == %Z ]&&C=fc&&echo ^FS:^;echo "`stat -$C $p \"$1\"` ^$p^${l#%* }";done|column -ts^; }
Nicely display permissions in octal format with filename¶
stat -f '%Sp %p %N' * | rev | sed -E 's/^([^[:space:]]+)[[:space:]]([[:digit:]]{4})[^[:space:]]*[[:space:]]([^[:space:]]+)/\1 \2 \3/' | rev
Get current logged in users shortname¶
list files recursively by size¶
Display the format of a directory or file¶
Status of a file/directory¶
Execute md5sum and sha in the same files in a single command.¶
File size¶
File size¶
Nicely display permissions in octal format with filename¶
View Owner, Group & Permissions.¶
STAT Function showing ALL info, stat options, and descriptions¶
statt(){ C=c;stat h|sed '/Th/,/NO/!d;/%/!d'|while read l;do p=${l/% */};[ $p == %Z ]&&C=fc&&echo ^FS:^;echo "`stat -$C $p \"$1\"` ^$p^${l#%* }";done|column -ts^; }
Nicely display permissions in octal format with filename¶
stat -f '%Sp %p %N' * | rev | sed -E 's/^([^[:space:]]+)[[:space:]]([[:digit:]]{4})[^[:space:]]*[[:space:]]([^[:space:]]+)/\1 \2 \3/' | rev
Get current logged in users shortname¶
list files recursively by size¶
Display the format of a directory or file¶
Last update: August 10, 2022
Created: August 10, 2022
Created: August 10, 2022