Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 218 Bytes

File metadata and controls

16 lines (10 loc) · 218 Bytes

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