Linux執行之後想 redirect output - LinuxOscar · 2011-10-03Table of ContentsPostCommentsRelated Posts如果一個程式已經在 foreground 執行, 我想要放到 background 執行,我用 ctrl-d bg %1 但我還想要同時把 standard output & standard error 導到檔案中,有沒有辦法? -- LinuxAll CommentsLucy2011-10-07先 2>&1 再 >檔案 ?Charlotte2011-10-09開始執行後沒辦法再改,除非該程式接受外界通知而自行改變.Hedwig2011-10-09或者反過來,一開始如1F方式先導向,想看結果可cat出來看.Ethan2011-10-13原來沒有辦法歐... 好吧..Oliver2011-10-14用gdb試試看 http://tinyurl.com/28jh7zMargaret2011-10-18用 gdb 這招夠狠. 不過給個讚!David2011-10-21好特殊!!Related Posts最萬用的多媒體播放器?請問 vim 可以合併兩種語法的 syntax 嗎?fedora15的 HDMI 沒聲音?samba 設定CentOS yum 鏡像來源
All Comments