I've received a project that some dude did and it's on production stage. But that guy had some issues with project managers and other team members (bad attitude, being an ass.. etc). Intentionally he documented wrong apps, wrong paths, hidden folders, among others. And then left the company.
While researching I've found that there's a .sh executing on process list. But that .sh doesn't exist anymore in the specified path (or even another path in the filesystem).
Looking at .bash_history I've found that he executed the .sh and then removed the file (intentionally)...
To keep the project going I need to know the content of that file. And as far as I understand, this shell still exists on the RAM because it is being executed.
Is there any chance to read that file from RAM? or write its content on a new file?
Kind regards.
EDIT: @Artem S. Tashkinov and @Gilles. Thank you for your answers. but this only dumps the output of the process. What I need is the code that the .sh contained ando produced that output.