Linux System Administration
Intermediate Commands
whoami
This command will print the user name associated with the current effective user id.
Note that if the prompt begins with a #, then you are currently root.
If the prompt begins with a $, then you are a regular user.
Prev
Page 19
Next