Your company here, and a link to your site. Click to find out more.

fexe - Man Page

print a process or corefile's executable path


fexe [options] {program arg ...  | pid... | core-file [ core-executable ]... }


fexe prints a processe or corefile's full executable path to standard output.


Use more verbose output, the process, executable, and /proc/PID/exe contents are displayed.

Standard Frysk Options


The full path of the executable to read.


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.


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 $$
sh$ rm /tmp/sh
sh$ fexe -v $$
1234 null /tmp/sh (deleted)

See Also



Report bugs to http://sourceware.org/frysk

Referenced By


April 2008 Frysk 0.4-94.fc41