sudo -l Linux Command
Lists the allowed and forbidden sudo commands for the current user.
What does sudo -l do?
Lists the allowed and forbidden sudo commands for the current user.
Syntax
sudo -lPractical example
sudo -lRelated Permission Commands
setfaclSets or modifies the Access Control List (ACL) for a file or directory.
visudoSafely edits the /etc/sudoers file to configure sudo permissions.
getfaclDisplays the Access Control List (ACL) of a file or directory.
chmodChanges the read, write, and execute permissions of files and directories.
umaskSets the default permission mask for newly created files and directories.
chownChanges the owner and/or group of a file or directory.