In Windows environment there is an API to obtain the path which is running a process. Is there something similar in Unix / Linux?
Or is there some other way to do th
pwdx
This command will fetch the process path from where it is executing.