Jak sprawdzić, czy mam pozwolenie sudo
sudo ls
# if you have the permission, then it will list the files
# otherwise it will something like sorry, you don't have the required permissions.
Burouj Armgaan