1.ctrl+z 关闭当前运行的界面
亦可直接在命令后面加上“&”将命令在后台执行,输入“jupyter notebook --allow-root &”(启动某项服务占用窗口时,可以调入后台运行)
2.jobs 查看后台
[root@localhost ~]# jobs
[1]+ 已停止 jupyter notebook --allow-root
[root@localhost ~]# bg 1
[1]+ jupyter notebook --allow-root &
[root@localhost ~]# fg 1
jupyter notebook --allow-root
3.bg 1 开启某项进程,后面的序号为显示的进程号
4.fg 1 窗口显示进程运行情况