fexe(1) - Linux man page
Name
fexe - Print a process or corefile's executable path
Synopsis
fexe [-v]
Description
fexe Print a processe or corefile's full executable path to standard output.
- -v
Use more verbose output, the process, executable, and /proc/PID/exe contents are printed.
Example
In this sequence a copy of bash is created and then executed, the running processes path examined:
- $ cp /bin/bash /tmp/sh $ PS1='sh$ ' /tmp/sh sh$ fexe $$ /tmp/sh sh$ rm /tmp/sh sh$ fexe -v $$ 1234 null /tmp/sh (deleted)
See Also
funit(8) fcatch(1) fcore(1) fstack(1) ftrace(1)
Bugs
Report bugs to http://sources.redhat.com/frysk : http:/sources.redhat.com/frysk.