Quantcast
Channel: User Kamil Maciorowski - Super User
Viewing all articles
Browse latest Browse all 837

Comment by Kamil Maciorowski on Can I find from which directory a command was executed?

$
0
0
ls -l /proc/PID/cwd where PID is the right PID. Still, I think find is allowed to change its current working directory during its run, as long as the results are within specification; so what you get may or may not be what you seek. Therefore this is just a comment, not an answer.

Viewing all articles
Browse latest Browse all 837

Trending Articles