Linux whoami command

Linux whoami command

 Linux whoami command


Linux whoami command is used to get the current logged-in username. This command is most helpful with Shell scripting to find if the current user is root or not.

Example:

$ whoami

Output:

rahul
Souy Soeng

Souy Soeng

Our website teaches and reads PHP, Framework Laravel, and how to download Admin template sample source code free. Thank you for being so supportive!

Github

Post a Comment

CAN FEEDBACK
close