Petrus de Calguarium wrote:
ps -fu 'whoami'
This just passes the text whoami as a group argument with no execution
of whoami.
ps -fu whoami
^
Equivalent command
ps -fu `whoami`
The accent graves tell bash to execute the text inside them. The whoami
command will be executed then passed to ps -fu.