PID of Background Command

$! expands to the process ID of the most recent background command executed in the current shell.

BashSupport Pro is a Bash IDE with support for $! – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal