I'm trying to get an output from ps aux
so that it looks like:
giovanni 28331 4381 0 15:43 ? 00:00:00 sshd: giovanni@pts/1
giovanni 28346 28331 0 15:43 pts/1 00:00:00 -bash
giovanni 28646 28346 0 15:43 pts/1 00:00:00 ./example.sh
However, running this command on Ubuntu 14.04 LTS, gives the following instead:
giovan+ 28331 4381 0 15:43 ? 00:00:00 sshd: giovanni@pts/1
giovan+ 28346 28331 0 15:43 pts/1 00:00:00 -bash
giovan+ 28646 28346 0 15:43 pts/1 00:00:00 ./example.sh
So how can I remove these plus signs and instruct the command to show me the whole username instead?