From 48299b01497c72e0d4931018ef9b4098f59376f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=BF=9B=E7=BA=A2?= <471516832@qq.com> Date: Wed, 24 Dec 2025 06:44:52 +0000 Subject: [PATCH] =?UTF-8?q?#=20=E6=9F=A5=E7=9C=8B=E8=BF=9B=E7=A8=8B?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E7=9A=84=E5=B7=A5=E4=BD=9C=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=9A=84=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张进红 <471516832@qq.com> --- .../03-\347\273\210\346\255\242\350\277\233\347\250\213.md" | 4 ++++ 1 file changed, 4 insertions(+) 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 0a5329b3..2072526f 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 ``` -- Gitee