Files
tldr/pages.zh_TW/common/nohup.md
K.B.Dharun Krishna 5c26174aa9 pages/*: update links and more info link script (#11390)
* pages/*: update links and more info link script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: reformat code

* ax-webapp: fix link

* curl: fix false positive

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30

545 B
Raw Permalink Blame History

nohup

當終端被關閉時允許程序繼續存在運作。 更多資訊:https://www.gnu.org/software/coreutils/nohup.

  • 執行一個可以在終端機之外繼續執行的程序:

nohup {{程序指令}} {{參數1 參數2 ...}}

  • 在背景啟動 nohup

nohup {{程序指令}} {{參數1 參數2 ...}} &

  • 執行可以在終端機之外繼續執行的的 .sh 檔:

nohup {{sh檔案}} &

  • 執行一個程序並將其輸出寫入特定文件:

nohup {{程序指令}} {{參數1 參數2 ...}} > {{文件路徑}} &