Step 1/1: Everything about a file

stat shows the size, permissions, owner, inode and times. -c picks fields: %a octal mode, %A rwx mode, %s size, %U owner, %n name.

$ stat -c '%a %n' notes.txt
Fundamentalsstat
Permissions as a number
Use stat to print the octal permissions and the name of list.txt, like "644 list.txt".
fileNext lesson:tree