Linux notes (3) sudo

Source: Internet
Author: User

just installed Ubuntu, appearing on the first line of the terminal: to run a command as administrator (user "root") with "sudo <command>".

See "Mans Sudo_root" Fordetails

Translated:

Run a command as an administrator (the "root" of the user), using "sudo < commands >

See "Man sudo_root" for more information



In other words, if you want to run the "ls" command, you can enter "sudo ls" on the command line,
Then you will be prompted to enter the password, then you enter the password, and then return to the line.
But if you want to keep the superuser (that is, root, the equivalent of an administrator), you can execute "sudo-s" and then enter the password, and you will be able to execute the command as a superuser without having to add "sudo" in front of each command.

Linux notes (3) sudo

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.