who is?
a quick one...
i log on as normal user "spoon" and 'su' to do something that requires root privilages... minimalise the terminal window ... to browes the web, do a few other stuff... i come back to the terminial... my questions is ... how would i find out as is the terminal still running as root or user "spoon" if i cant remember what user i was working in the terminal window... (is there some kinda command which i can type which would say which user is active in the current terminal window?) thanks in advance... |
Well, usually you can tell by the $ or #.
I.e. Code:
[mjj@localhost mjj]$ su <- user |
Open a console and type whoami. It's the same command as for Windows.
|
thanks... tried both... its brilliant...
|
All times are GMT -5. The time now is 08:32 PM. |