answersLogoWhite

0


Best Answer

If by simulate you mean to run command as root i.e with root privileges then sudo is the command.

sudo <command name>

which execute the command with root privileges.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you simulate a command as root?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What words have the root simul?

Some words with the root &quot;simul&quot; include simulate, simultaneous, and similarity. These words all derive from the Latin word &quot;simul,&quot; meaning &quot;together&quot; or &quot;at the same time.&quot;


How do you obtain root permissions in Linux?

su (will change user to root)sudo command (will run command as root)


1 What command can be used as a regular user to run a single command as root?

sudo ... but you have to be in the sudoers list which has to be edited as root. Once you are in the sudoers file/list, you can execute a command as root by typing "sudo" (without quotations) and then a space and then the command. You will be asked for your password, enter it, and the command will be executed with root privileges. The sudoers file is in /etc.


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 menning sudo command in Linux?

sudo will run a command with root privileges


What does the sudo command do in linux?

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


What is the command to obtain root permission in Linux for SSH?

There is no command specific to SSH. Whether you are physically using the machine in question or using an SSH client the process is the same. On Ubuntu, one is encouraged not to use the root account directly. To execute a command as root, enter sudo . On distros that don't include sudo, you can gain a root shell by entering the command su root. Both commands will require you to enter either your admin password or the root password, respectively.


How do you Locate the Linux root partition?

The root directory is indicated by a "/'. You can navigate to the root directory using the command 'cd /'.


Can you recover a root password in Linux?

No, none of the passwords used in a Linux system can be "recovered" because there isn't a reverse encryption for it. However, you can "reset" the root password by using the single-user mode at boot time (which puts you in the root account automatically) and then changing at that time.


What is a root word or base word for commander?

Commander is a base word. Command is the base word- er is the suffix. A base word can stand alone and has meaning. A root word is a basic word with no prefix or suffix Added to it.


Write C program using functions to simulate a Calculator with the basic functions - square root and reciprocal?

trytytytytytytytytrf 6 bcvvtgujhy6


To move to the root directory use the command?

For Unix/Linux, use the command 'cd /' For Windows, you can also use the same command or 'cd \'