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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s