I want to create an alias that will grep the passwd file for the logged in persons username and then it will return the password file entry. I want to pipe the whoami info to the grep command. I have created the following: % alias whopw grep �\!*' /etc/passwd.
I know there is a more efficient way to do this by using the whoami command but I can't figure it out. Please help!!