DISQUS

DISQUS Hello! Tech-Recipes is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Tech-Recipes

Cookbook of Tech Tutorials
Jump to original thread »
Author

Solve your UNIX identity crisis | UNIX | Tech-Recipes

Started by qdideas · 9 months ago

No excerpt available. Jump to website »

2 comments

  • whoami (all run together) also works.
  • > whoami (all run together) also works.

    It's not quite the same. Let me explain:

    "who am i" shows who you are initially logged on as.
    "whoami" shows who you are su'd to.

    For example, if I login as nitro, then su to root, the results are as follows:

    # who am i
    nitro pts/2 Jan 7 09:09

    # whoami
    root

Add New Comment

Returning? Login