$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.

BashSupport Pro 是一款 Bash 和 POSIX 集成开发环境,支持 $PPID - 立即试用
© 2020–2026 Joachim Ansorg
声明
隐私政策
许可条款