I have a rogue perl script that is running on a Linux box. Is there a way to see where is this script located?
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