answersLogoWhite

0


Best Answer

When u put sudo before a command in terminal the command run with root privileges

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does the sudo command do in linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is menning sudo command in Linux?

sudo will run a command with root privileges


What is the Linux command to reboot?

$su $reboot or $sudo reboot


How do you run a command with root previlage on Linux?

Either login as the root user or type: sudo then the command you wish to run.


What is the Linux command for installing an application?

At a terminal prompt: sudo apt-get install <application-name>


What is sudo?

sudo is a Linux command used to execute programs as the root, or "super user." sudo is a shortening of "super user do." One uses sudo when they need to run a command or program as root, but do not wish to log out or switch their entire shell to root privileges (like they could do with the su command). The file sudoers defines per user or per group what commands can be run with sudo. This file is edited with the command visudoers


Command used to go from User Mode to Privileged Mode is?

For Unix/Linux, use either the 'sudo' command or 'su' to the root account.


How do you obtain root permissions in Linux?

You can obtain root permissions in Linux by using the "sudo" command before executing a command that requires elevated privileges. This allows you to temporarily act as the root user to perform administrative tasks. Alternatively, you can switch to the root user using the "su" command by entering the root user's password.


How do you install Firefox on Linux?

Most distribution have firefox installed by default. But if it isn't you can try type these into the command line: sudo apt[-get] install firefox sudo yum install firefox sudo dnf install firefox sudo aptitude install firefox sudo urpmi firefox sudo installpkg firefox.tgz sudo emerge firefox sudo pacman -S firefox


How do you run an installer as a superuser on Ubuntu Linux?

From the command line, always use sudo. For instance:sudo sh installer.shorsudo ./installer.binNote: If you don't have (don't want to use) sudo, then just: su -c './installer'


How do you create users in Linux?

To create a new user account under any Linux distribution use command called useradd. The system administrator is responsible for creating account. Login as root user (or use sudo command).


I am looking for the administrator login in ubuntu what can you advice please?

"Administrator" doesn't have the quite the same meaning in Linux as it does in Windows. In Linux, an administrator is someone with sudo privileges. It does not automatically grant them the ability to do anything they want on the system, but instead do it by issuing the sudo command, and entering their password when prompted.


What command in Linux do you use to list known connected storage devices?

sudo fdisk -l (fdisk must be run as supper-user, hence, sudo).lsusb to list USB devices.