How do I run as root in Linux?

How do I run as root in Linux?
Answer
Method 1 Gaining Root Access in the Terminal
  • Open the terminal. If the terminal is not already open, open it.
  • Type. su – and press ↵ Enter .
  • Enter the root password when prompted.
  • Check the command prompt.
  • Enter the commands that require root access.
  • Consider using.
 

Tìm kiếm

Back
Top