20 lines
437 B
Markdown
20 lines
437 B
Markdown
# 进度
|
|
|
|
> 显示/监控正在运行的 coreutils 的进度。
|
|
> 更多信息:<https://github.com/Xfennec/progress>。
|
|
|
|
- 显示正在运行的 coreutils 的进度:
|
|
|
|
`progress`
|
|
|
|
- 以静默模式显示正在运行的 coreutils 的进度:
|
|
|
|
`progress -q`
|
|
|
|
- 启动并监控一个长时间运行的命令:
|
|
|
|
`{{command}} & progress --monitor --pid $!`
|
|
|
|
- 包括完成所需时间的估计:
|
|
|
|
`progress --wait --command {{firefox}}` |