Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's handy in a multi-user environment when you're sudo/su -ing to various users. I'll use it reasonably frequently to test that sudo works as anticipated. "sudo whoami" should return "root".


Yup. "id" is pretty good for that too, and is shorter to type. Give it a whirl.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: