terminate all jobs linux code example
Example: how to close jobs in linux
$ jobs
[1]+ Running sleep 100 &
$ kill %1
[1]+ Terminated sleep 100
$ jobs
[1]+ Running sleep 100 &
$ kill %1
[1]+ Terminated sleep 100