terminal內容輸出到 txt - Linux

By Ethan
at 2015-08-04T15:33
at 2015-08-04T15:33
Table of Contents
以往我都是用
$ ./test > test.txt
test這個program裡面printf的內容 就會輸出到 test.txt
但是今天我下這指令卻不會輸出進去 只會產生test.txt的空白檔案
是哪邊出了問題?
我的test執行檔都沒有改過
有時候可以輸出有時候不行 有人有遇過嗎
想不知是什麼原因?? (苦惱中
--
$ ./test > test.txt
test這個program裡面printf的內容 就會輸出到 test.txt
但是今天我下這指令卻不會輸出進去 只會產生test.txt的空白檔案
是哪邊出了問題?
我的test執行檔都沒有改過
有時候可以輸出有時候不行 有人有遇過嗎
想不知是什麼原因?? (苦惱中
--
Tags:
Linux
All Comments

By Todd Johnson
at 2015-08-05T02:58
at 2015-08-05T02:58

By Jake
at 2015-08-07T18:28
at 2015-08-07T18:28

By Mary
at 2015-08-12T01:39
at 2015-08-12T01:39

By Bethany
at 2015-08-12T04:03
at 2015-08-12T04:03

By Necoo
at 2015-08-16T05:33
at 2015-08-16T05:33
Related Posts
請問怎麼把 user 鎖在某個資料夾

By Zenobia
at 2015-08-03T19:54
at 2015-08-03T19:54
Fedora18是否有bug?(網卡名稱)

By Odelette
at 2015-08-03T14:39
at 2015-08-03T14:39
想請問shell script 如何設定無效的值??

By Connor
at 2015-08-03T12:13
at 2015-08-03T12:13
關於symbolic link/Hard link差異

By Charlotte
at 2015-08-03T08:45
at 2015-08-03T08:45
Dell Inspiron 15 5000

By Rosalind
at 2015-08-02T23:12
at 2015-08-02T23:12