pwdx
作用是查看 Linux
服务的工作目录。
Help
# pwdx --help
Usage:
pwdx [options] pid...
Options:
-h, --help display this help and exit
-V, --version output version information and exit
For more details see pwdx(1).
示例
# jps
2323232 Kafka
# pwdx 2323232
2323232: /usr/local/kafka/bin