🦸 Sudo
Run commands with elevated privileges with sudo
Additional users can be given sudo abilities in the /etc/sudoers
file
Change a File’s Owner
Change the owner of a file:
command line
chown other_user somefile.txt
Change the owner of a file to root:
command line
chown root somefile.txt
Execute a command with root privileges
Change the owner of a file to root:
command line
sudo chown root somefile.txt