How to check permissions of a folder in Ubuntu

Run the following command to check permissions of a folderr in Ubuntu:

ls -ld /tmp

You will get the output like this:

drwxrwxrwt 11 root root 4096 Apr 17 05:53 /tmp

In the above example /tmp is the folder for which you want to check the permissions.