getpid(1) NAME getpid - print current or parent PID SYNOPSIS getpid [-p] DESCRIPTION This prints the current process PID, or the parent process PID if -p flag is provided. -p Print the parent PID