Write the difference between $$ and $!?

$$ specifies the process ID of the currently running process

$! specifies the process ID of the currently running process. Display process IDs of processes that have recently been back grounded.

BY Best Interview Question ON 30 Dec 2022