in reply to Who called Perl?
The proc directory has a number of other interesting files.$ perl -E 'my $parent = getppid(); open my $fh, "<", "/proc/$parent/comm"; print <$fh>' bash
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Who called Perl?
by Anonymous Monk on Mar 02, 2015 at 12:45 UTC |