Mon Sep 29, 2008 11:49 am - How Can You Tell If You Are Logged In As Root?
#2236
How Can You Tell If You Are Logged In As Root?
there is a simple way you can find out whether or not you are logged in as root.
once logged in to a command-line termina, you'll receive a prompt into which you can enter commands. if you log is as the root user, a # prompt will be shown:
[root@localhost]#
but if you are not logged in as root and instead as a regular user, you will see the $ prompt instead
[root@localhost]$
hope this helps
once logged in to a command-line termina, you'll receive a prompt into which you can enter commands. if you log is as the root user, a # prompt will be shown:
[root@localhost]#
but if you are not logged in as root and instead as a regular user, you will see the $ prompt instead
[root@localhost]$
hope this helps
author: Webune