Sample Header Ad - 728x90

What does su - `whoami` command do?

5 votes
1 answer
2521 views
I am running a script in my project and I see this command su - whoami I am having a few basic questions: 1. What does this command do ? 2. What is the significance of `` quotes outside the whoami command ? 3. What is - used for ? I know su stands for switch user.
Asked by Sachin Jain (153 rep)
Jul 25, 2014, 09:23 AM
Last activity: Jul 25, 2014, 08:39 PM