jobs — Lists the active jobsSummary : jobs is bash build-in command, which is used to list the actives jobs in the current shell. Examples :
$ sleep 150 & -- Just run this command 5 times to create few dummy active jobs for our testing. $ jobs -- List all active jobs. $ jobs -l -- List all active jobs with pid. $ jobs -p -- List only the pid of all active jobs. $ jobs -n -- List only jobs that have changed statussince the last notification are printed. $ jobs -r -- Show only running jobs. $ jobs -s -- Show only stopped jobs.
Read : man jobs / help jobs (in Bash Shell)