cat /etc/passwd -n | grep `whoami` | cut -f1
Surrounding a command in ` marks makes it execute the command and send the output into the command it’s wrapped in.
cat /etc/passwd -n | grep `whoami` | cut -f1
Surrounding a command in ` marks makes it execute the command and send the output into the command it’s wrapped in.