2025-06-10 06:24:18 +02:00
|
|
|
# %
|
2024-12-26 09:17:46 +02: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-03-27 15:53:12 +00:00
|
|
|
- Bring the job number `n` to front:
|
2024-12-26 09:17:46 +02:00
|
|
|
|
2025-03-27 15:53:12 +00:00
|
|
|
`%{{n}}`
|
2024-12-26 09:17:46 +02: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}} &`
|