[問題] Process &

看板Linux作者 (和平時多準備)時間17年前 (2009/02/16 23:24), 編輯推噓0(003)
留言3則, 3人參與, 最新討論串1/2 (看更多)
當我把一個job 丟到背景執行 & 然後我log out 接著我這個job 掛掉 正常如果我沒有log out 的話會顯示在screen 上面 但是因為我log out 這樣的話我找的到error log 之類的東西嗎 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.231.27

02/18 16:50, , 1F
process > /tmp/log.txt &
02/18 16:50, 1F

02/18 17:59, , 2F
樓上這樣stderr沒log到 改成process > /tmp/log.txt 2>&1 &
02/18 17:59, 2F

02/20 14:29, , 3F
非常感謝
02/20 14:29, 3F
文章代碼(AID): #19cOKssE (Linux)
討論串 (同標題文章)
以下文章回應了本文
完整討論串 (本文為第 1 之 2 篇):
0
3
文章代碼(AID): #19cOKssE (Linux)