stdout > >>? - Linux

By Candice
at 2011-09-30T23:56
at 2011-09-30T23:56
Table of Contents
我看鳥哥說 stdout > 或是 >>都是一樣的
可是我剛剛在某一台工作站試的時候
如果是用 > output結果到一個文字檔的時候,
多用幾次 他就會顯示最新跑的那一次的資訊
但如果用 >> output結果到一個文字檔的話,
多用幾次 這幾次的資訊都會依序存到文字檔中,
請問有什麼地方有詳細描述
> >> < << 2> 2>> 這幾種的差異嗎?
因為印象中我之前不管用 > or >> 好像都是顯示最新跑的那一次的資訊而已
並不會累計
我只是想要確定一下這幾種到底是怎樣運作的 3Q
--
Tags:
Linux
All Comments

By Charlie
at 2011-10-02T05:44
at 2011-10-02T05:44

By Callum
at 2011-10-07T01:15
at 2011-10-07T01:15

By Gary
at 2011-10-08T17:06
at 2011-10-08T17:06

By Emma
at 2011-10-12T14:28
at 2011-10-12T14:28
Related Posts
vsftpd 帳戶預設目錄問題

By Catherine
at 2011-09-30T22:26
at 2011-09-30T22:26
MeeGo不再!Intel結新歡─開源系統Tizen

By Hedy
at 2011-09-30T20:42
at 2011-09-30T20:42
怎麼改gnome的圖示?

By James
at 2011-09-30T17:45
at 2011-09-30T17:45
請推薦較省電的Linux distro

By Tristan Cohan
at 2011-09-30T17:42
at 2011-09-30T17:42
vim -p 結合 find 用法

By Lydia
at 2011-09-30T16:54
at 2011-09-30T16:54