1

Linux常用命令-112:bg

 1 year ago
source link: https://xugaoxiang.com/2022/10/11/linux-cmds-112-bg/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

bg 命令用于将任务放到后台运行,这样前台可以执行其他任务了。它的运行效果和在命令后面添加符号 & 的效果是一样的。

语法格式:bg [参数]

常用参数:

c4f4007e23a9066e.png

# 将任务号为1的任务移到后台运行
bg 1

# 使用 & 将任务放后台运行
ping xugaoxiang.com &

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK