Commands Help : sudo

  •  sudo - sudoedit - execute a command as another user

[SYNOPSIS] sudo OPTION COMMAND
option
-u USERcauses sudo to run the specified command as a user other than root
-sruns the shell specified by the SHELL environment variable if it is set or the shell as specified in passwd(5)
-Hsets the HOME environment variable to the homedir of the target user (root by default) as specified in passwd(5)
-lThe -l (list) option will list out the allowed (and forbidden) commands for the invoking user on the current host
-hshow help
-vsudo will update the user’s timestamp, prompting for the user’s password if necessary
-kThe option to sudo invalidates the user’s timestamp by setting the time on it to the Epoch
-KThe option is like -k except that it removes the user’s timestamp entirely
-bThe option tells sudo to run the given command in the background

Comments

Popular posts from this blog

Java : Variables Declaring

SQL Self JOIN