STAT

example

stat -c '%a %n' /home/pi/*

other options

  • %a permission bits in octal
  • %A permission bits and file type in human readable form
  • %g group ID of owner
  • %G group name of owner
  • %n file name
  • %s total size, in bytes
  • %u user ID of owner
  • %U user name of owner
On this page
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9