Find the answer to your Linux question:
Results 1 to 6 of 6
IS there any good guid to follow, that i can use to see if i am in root, yeah yeah lol i am new to linux lol useing suse 10.1 ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    2

    Smile how do log-out of root

    IS there any good guid to follow, that i can use to see if i am in root, yeah yeah lol i am new to linux lol useing suse 10.1 and i dont even know if i am logged in root, i had a problem deleteing files it gives me an error so i want to be able to delete those files though i still can't so any help would be thankful! THANKS GUYS/GIRLS! BUH BYE

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    in konsole/terminal type 'whoami'
    that will tell you ... who you are...

    hey ! its not a joke.



    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Engineer oldcpu's Avatar
    Join Date
    Aug 2005
    Location
    Europe
    Posts
    1,142
    Quote Originally Posted by Fullback
    IS there any good guid to follow, that i can use to see if i am in root
    Open a konsole. Type "whoami".

    Edit - beaten by "devils_casper" by a microsecond!!

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    yeah ! its very pleasant coincidence man !




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    If you are working in a terminal, your shell prompt is usually a good indicator of whether you are root or not e.g. a "$" sign means you are a normal user and a "#" means you are root. Also some prompts actually write the name of the current user e.g.
    Code:
    [root@somehost ~]#
    For a normal user, the prompt is usually something like
    Code:
    [user@somehost ~]$

  6. #6
    Linux Newbie framp's Avatar
    Join Date
    Jul 2006
    Location
    Stuttgart, Germany
    Posts
    240
    I use id. 2 chars instead of 6 chars to type
    "Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...