Next: file commands mkdir, Previous: file commands listing, Up: file commands [Contents][Index]
The GNU Coreutils package comes with a command line program stat
which implements
advanced inspection of file and directory status. See (coreutils)Report file or file
system status.
Declare the intention to use the program stat
.
Execute stat
with pathname as first argument and arg as other arguments.
mbfl_file_enable_stat mbfl_file_stat /bin/ls --format='%F' ⇒ 0 -| regular mbfl_file_stat /bin --format='%F' ⇒ 0 -| directory
The function variant _var
stores the result in the variable _RV, rather than print it;
Result variables.
Print the size of the file in bytes.
The function variant _var
stores the result in the variable _RV, rather than print it;
Result variables.
Next: file commands mkdir, Previous: file commands listing, Up: file commands [Contents][Index]