← 返回命令列表

Linux command

pwdx 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

pwdx 1234

Example

pwdx 1234 5678

说明

pwdx reports the current working directory of a process. It reads this information from /proc/pid/cwd and displays the directory path for each specified process ID.

参数

-V, --version
Output version information and exit
-h, --help
Output help screen and exit

FAQ

What is the pwdx command used for?

pwdx reports the current working directory of a process. It reads this information from /proc/pid/cwd and displays the directory path for each specified process ID.

How do I run a basic pwdx example?

Run `pwdx 1234` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -V, --version do in pwdx?

Output version information and exit