This command is used to print the process ID of the mentioned directory path. This is useful to identify the process which is running for the mentioned path. This command takes path argument as options, and simply prints the output to the console.
- About pwdx: To report current working directory of a process
- Comes From : procps-3.2.8
- Configuration Files:
- Path: /usr/bin/pwdx
Examples:
1. To get the current working directory of a process
# pwdx <process_ID> # pwdx 1210 |
2. To get the pwdx version
# pwdx -v |
Related Commands: ps, pgrep