OnCallReadyStart learning

stat: display file or filesystem status

stat [-c FORMAT] file...

Options you will use

-c FORMAT, --format=FORMAT
Use FORMAT: %n name, %s size, %a octal mode, %A human mode, %U user, %G group, %i inode, %h link count.
-L, --dereference
Follow links: show the file a symlink points to.

Examples

$ stat -c "%a %n" /srv/ops/*

octal permissions of everything in a directory

Taught in

Try stat in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.