Skylervich Asked: 2011-12-29 14:15:07 +0800 CST2011-12-29 14:15:07 +0800 CST 2011-12-29 14:15:07 +0800 CST Rogue perl script 772 I have a rogue perl script that is running on a Linux box. Is there a way to see where is this script located? linux perl 2 Answers Voted user9517 2011-12-29T14:21:55+08:002011-12-29T14:21:55+08:00 You could use ps -auxww | grep 'nameofrogueperlscript or ps -auxww | grep perl which may expose the information you are looking for. Best Answer Joel K 2011-12-29T14:20:09+08:002011-12-29T14:20:09+08:00 Use top, and hit 'c' to see full command line. Then you'll have it's name. Run locate NAME to find it. (if your locate database is up to date) If that doesn't work, you can use 'find' to find it from the root directory.
You could use
ps -auxww | grep 'nameofrogueperlscript
orps -auxww | grep perl
which may expose the information you are looking for.Use top, and hit 'c' to see full command line.
Then you'll have it's name.
Run locate NAME to find it. (if your locate database is up to date)
If that doesn't work, you can use 'find' to find it from the root directory.