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

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...