diff --git "a/\347\237\245\350\257\206\345\272\223/\350\277\220\347\273\264/Linux/03-\345\274\200\345\217\221\345\270\270\347\224\250/03-\347\273\210\346\255\242\350\277\233\347\250\213.md" "b/\347\237\245\350\257\206\345\272\223/\350\277\220\347\273\264/Linux/03-\345\274\200\345\217\221\345\270\270\347\224\250/03-\347\273\210\346\255\242\350\277\233\347\250\213.md" index 0a5329b3887ee484df869f1e39c21daf3f839409..2072526fc89f050eeff2bee878aec588cb432e3d 100644 --- "a/\347\237\245\350\257\206\345\272\223/\350\277\220\347\273\264/Linux/03-\345\274\200\345\217\221\345\270\270\347\224\250/03-\347\273\210\346\255\242\350\277\233\347\250\213.md" +++ "b/\347\237\245\350\257\206\345\272\223/\350\277\220\347\273\264/Linux/03-\345\274\200\345\217\221\345\270\270\347\224\250/03-\347\273\210\346\255\242\350\277\233\347\250\213.md" @@ -21,4 +21,8 @@ sudo fuser -v /tmp/update # 查看进程对应可执行文件路径的命令 ls -l /proc/[PID]/exe + +# 查看进程对应的工作目录的命令 +ls -l /proc/[PID]/cwd +readlink proc/[PID]/cwd ```