$PPID
–
Parent Process ID
$PPID
is read-only and contains the process id of the shell’s parent process.
The value remains the same even in subshells.
Links
BashSupport Pro 是一款 Bash 和 POSIX 集成开发环境,支持 $PPID - 立即试用!
$PPID
–
Parent Process ID$PPID
is read-only and contains the process id of the shell’s parent process.
The value remains the same even in subshells.