Faulek Faulek - 8 months ago 58
Bash Question

What does "$!" mean?

I have some bash shell script code

something happens here

I could't find anyting about it and I'm not sure if it makes any sense but if so - what does it mean?


EDIT: Wow - looks like I didn't search deep enough - the answer lies hier What are the special dollar sign shell variables?


$! resolves to the process id of the latest process run in the background.