[問題] 執行之後想 redirect output
如果一個程式已經在 foreground 執行,
我想要放到 background 執行,我用
ctrl-d
bg %1
但我還想要同時把
standard output & standard error
導到檔案中,有沒有辦法?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 120.126.38.177
※ 編輯: huggie 來自: 120.126.38.177 (10/03 13:01)
推
10/03 14:07, , 1F
10/03 14:07, 1F
→
10/03 14:33, , 2F
10/03 14:33, 2F
→
10/03 14:34, , 3F
10/03 14:34, 3F
→
10/03 14:39, , 4F
10/03 14:39, 4F
推
10/03 23:54, , 5F
10/03 23:54, 5F
→
10/04 07:29, , 6F
10/04 07:29, 6F
→
10/05 13:22, , 7F
10/05 13:22, 7F