mac 上的一些小命令
Opened this issue · 0 comments
bingoohuang commented
mac 上的一些小命令
- 查看进程的工作目录
lsof -a -d cwd -c programname
orlsof -a -d cwd -p processid
,谢$ lsof -a -d cwd -p 41187 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME beefs 41187 bingoobjca cwd DIR 1,4 160 79202440 /Users/bingoobjca/tempdir/beefsdir1
- xxx