Linux Command - jobs
The Linux jobs command will show the status of jobs in the current session.
jobs
Show jobs with this job ID:
jobs %5
Show jobs that contain this string ( error if more than one does ):
jobs %?test
Also show PIDs for each job:
jobs -l
Only show PIDs for each job:
jobs -p
Jobspec examples:
%5 | job ID |
%test | starts with string |
%?test | contains string |
%+ | current job |
%% | current job |
%- | previous job |