How Can You Tell If You Are Logged In As Root?
- Forums
- Linux
- How Can You Tell If You Are Logged In As Root?
This Page Contains information about How Can You Tell If You Are Logged In As Root? By Webune in category Linux with 1 Replies. [3202], Last Updated: Mon Jun 24, 2024
Webune
Mon Sep 29, 2008
1 Comments
544 Visits
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
you are loged in as root your "[rootat localhost]#"
will be green instead of red. And yes that hapens to.
:)
https://www.webune.com/forums/how-can-you-tell-if-you-are-logged-in-as-root.html