{
    "mode": "man",
    "parameter": "proc_pid_cwd",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/proc_pid_cwd/5/json",
    "generated": "2026-10-04T06:42:08Z",
    "sections": {
        "NAME": {
            "content": "/proc/pid/cwd - symbolic link to current working directory\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "/proc/pid/cwd\nThis  is a symbolic link to the current working directory of the process.  To find out\nthe current working directory of process 20, for instance, you can do this:\n\n$ cd /proc/20/cwd; pwd -P\n\nIn a multithreaded process, the contents of this symbolic link are  not  available  if\nthe main thread has already terminated (typically by calling pthreadexit(3)).\n\nPermission  to  dereference  or read (readlink(2)) this symbolic link is governed by a\nptrace access mode PTRACEMODEREADFSCREDS check; see ptrace(2).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "proc(5)\n\nLinux man-pages 6.7                          2023-08-15                              procpidcwd(5)",
            "subsections": []
        }
    },
    "summary": "/proc/pid/cwd - symbolic link to current working directory",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "proc",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/proc/5/json"
        }
    ]
}