GO KALI FREE
Permission Commands

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 -l

Practical example

sudo -l

Related Permission Commands

setfacl

Sets or modifies the Access Control List (ACL) for a file or directory.

visudo

Safely edits the /etc/sudoers file to configure sudo permissions.

getfacl

Displays the Access Control List (ACL) of a file or directory.

chmod

Changes the read, write, and execute permissions of files and directories.

umask

Sets the default permission mask for newly created files and directories.

chown

Changes the owner and/or group of a file or directory.