mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
28 lines
441 B
Markdown
28 lines
441 B
Markdown
# Percent sign
|
|
|
|
> 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:
|
|
|
|
`%-`
|
|
|
|
- Bring a job numbered `N` to front:
|
|
|
|
`%{{N}}`
|
|
|
|
- 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}} &`
|