Ask a question »

How to execute command as administrator under Linux

July 2015


How to execute command as administrator under Linux




Issue


When i'm trying to execute command in terminal, i'm getting error message saying that i don't have administrative rights to execute them ! Could anybody help me?

Solution

  • You must firstly put "sudo" infront of the command line
  • Enter your password and validate the command
  • The command line will be executed and note that you won't to have to insert your password again to execute another command line during 15minutes after that
For unlimited offline reading, you can download this article for free in PDF format:
How-to-execute-command-as-administrator-under-linux.pdf

See also

In the same category

Published by aakai1056.
This document entitled « How to execute command as administrator under Linux » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.