pwdx – report current working directory of a process

A UNIX Command
$pwdx 3805 1413 1412 1799 1009 2002
3805: /home/jeffrin
1413: Permission denied
1412: Permission denied
1799: Permission denied
1009: Permission denied
2002: Permission denied
$

$sudo pwdx 3805 1413 1412 1799 1009 2002
[sudo] password for jeffrin:
3805: /home/jeffrin
1413: /
1412: /var/lib/mysql
1799: /
1009: /
2002: /
$

UNIX Explanation

The pwdx command reports the current working directory of
a process or processes.

Leave a comment

Your email address will not be published. Required fields are marked *