Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages.zh/common/%.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# %

> 管理作业。
> 更多信息:<https://www.gnu.org/software/bash/manual/bash.html#Job-Control-Basics>.

- 将当前作业切换到前台:

`%`

- 将上一个作业切换到前台:

`%-`

- 将 `n` 号作业切换到前台:

`%{{n}}`

- 将命令以 `字符串` 开头的作业切换到前台:

`%{{字符串}}`

- 将命令包含 `字符串` 的作业切换到前台:

`%?{{字符串}}`

- 恢复一个已暂停的作业:

`%{{1}} &`