I am trying to list the superusers processes currently running in my Kali distro. Using pgrep -f sbin I figured that would do the trick, however it only lists the PID numbers, not the actual name of the processes. How can I get it to do this?Using ps ef | grep sbin it returns a very unformatted list, is there a neat way to format this or dump it to a textfile with some proper formation?
List superuser processes
ps;process management
Solved it by adding the -l flag to pgrep:pgrep -lf sbinFrom man pgrep:   -l, --list-name          List the process name as well as the process ID.  (pgrep only.)