Contents
How do you run a program as administrator in Linux?
4 Answers. The main two commandline possibilities are: Use su and enter the root password when prompted. Put sudo in front of the command, and enter your password when prompted.
How do I run a program as administrator in Ubuntu?
To run a command which requires root privileges in a terminal, simply prepend sudo in front of it. To get an interactive root shell, use sudo -i.