Linux for DevOps
whoami command:
The whoami command allows Linux users to see the currently logged-in use. The output displays the username of the effective user in the current shell
Additionally, whoami is useful in bash scripting to show who is running the script.
...
areef.hashnode.dev3 min read