adalby has asked for the wisdom of the Perl Monks concerning the following question:
Alternatively, is there a way to find the full path of an executing program?semi-functional shell script: for PID in $(ps -eo pid,user,lstart,cmd|grep xxx|cut -d" " -f1) do sudo readlink /proc/$PID/exe >>output done
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: elevated privileges for a single call
by kcott (Archbishop) on May 07, 2013 at 12:27 UTC | |
by adalby (Initiate) on May 07, 2013 at 16:21 UTC | |
by kcott (Archbishop) on May 12, 2013 at 15:04 UTC | |
|
Re: elevated privileges for a single call
by pemungkah (Priest) on May 08, 2013 at 22:58 UTC |