• 0

How to get the process name using the pid or process id in linux

If you already have the PID of a process, running the following command will get you the process name

ls -l /proc/PID/exe