back to notes

What is the current working directory of a process?

PID=$$
lsof -p $PID -a -d cwd


last updated august 2016