How do you view a dir’s permissions?

ls -ld /the/dir

ls - list command l - long list, including permissions d - directory, not its contents

How do you read ls long results?

drwxrwx--- 5 mrdude farmers 4096 Sep 10 13:20 /the/dir

Columns

  • type and permissions
  • number of links/names
  • owner user
  • owner group
  • size
  • month/date/time changed
  • name