2025-07-24 22:27:13 -06:00
|
|
|
# %
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
> Manage jobs.
|
|
|
|
|
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Job-Control-Basics>.
|
|
|
|
|
|
|
|
|
|
- Bring the current job to front:
|
|
|
|
|
|
|
|
|
|
`%`
|
|
|
|
|
|
|
|
|
|
- Bring the previous job to front:
|
|
|
|
|
|
|
|
|
|
`%-`
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
- Bring the job number `n` to front:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`%{{n}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Bring a job whose command starts with `string` to front:
|
|
|
|
|
|
|
|
|
|
`%{{string}}`
|
|
|
|
|
|
|
|
|
|
- Bring a job whose command contains `string` to front:
|
|
|
|
|
|
|
|
|
|
`%?{{string}}`
|
|
|
|
|
|
|
|
|
|
- Resume a suspended job:
|
|
|
|
|
|
|
|
|
|
`%{{1}} &`
|