linux command

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  窗口顯示進程運行情況

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章