fexe (1) Linux Manual Page
fexe – print a process or corefile’s executable path
Synopsis
- fexe [options] {program
arg … | pid… | core-file [ core-executable ]… }
Description
fexe -v
- Use more verbose output, the process, executable, and /proc/PID/exe contents are displayed.
Standard Frysk Options
-exe- The full path of the executable to read.
-noexe
- Do not attempt to read the corresponding executable when loading a core file.
-sysroot directory
- The system root directory under which all executables, libraries, and source are located.
-debug class=level…
- Set internal debug-tracing of the specified Java class to level (level can be NONE, INFO, WARNING, FINE, and FINEST). If the level is absent, FINE is assumed; if the class is absent, the global level is set.
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)
