bash: jobs

List all jobs

$ jobs

Run job in background

$ command &

Move job to background
Ctrl+Z – temporarily stops job

$ bg

Move job to foreground

$ fg
$ fg %2

Stop job

$ kill %1

Leave a Reply

Your email address will not be published. Required fields are marked *