Whoami command in UNIX is used to find out who (username) is logged into the server. In real time scenario, we might need to login as superuser to perform certain operations. This command would be useful to identify whether we have successfully logged out from the superuser or not.
Example for WHOAMI command in Unix:
OTHER ADVANCED UNIX COMMANDS:
Below are the list of advanced UNIX commands used in UNIX operation system.
1 .GREP Command in Unix
2.Whoami Command in Unix
3.Passwd Command in Unix
4.Kill Command in Unix
5.Ps -Ef Command in Unix
6.Df -k Command in Unix
7.Bdf Command in Unix
8.ftp Command in Unix
9.Find Command in Unix
10.Date Command in Unix
11.Uptime Command in Unix
12.Clear Command in Unix
13.Shift Command in Unix
14.Sort Command in Unix
15.Crontab Command in Unix
16.Unix Command Line Arguments