Files
cheatsheet-tldr/tldr/%
2025-03-28 00:18:38 +00:00

34 lines
534 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 the job number `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}} &`