du -sh * 怎麼只顯示xxG以上的資料? - Linux
By Hamiltion 
at 2017-10-30T12:20
at 2017-10-30T12:20
Table of Contents
這是我下du -sh * |grep "G" 的結果 
[root@hexo share]# du -sh * |grep "G"
1.2G AAA
1.7G BBB
4.2G CCC
6.7G DDD
 
前面的G到後面檔名中間那串似乎不是空白
所以我grep "G " 會顯示沒有資料
請問該如何在眾多資料中只顯示容量超過G以上的檔案?
 
--
--
    [root@hexo share]# du -sh * |grep "G"
1.2G AAA
1.7G BBB
4.2G CCC
6.7G DDD
前面的G到後面檔名中間那串似乎不是空白
所以我grep "G " 會顯示沒有資料
請問該如何在眾多資料中只顯示容量超過G以上的檔案?
--
推 filexchang:請善用gogle通訊錄:)03/13 12:29 
→ filexchang:    o03/13 12:30 
→ filexchang:    o03/13 12:30 
→ filexchang:       o03/13 12:30 
→ filexchang:          o03/13 12:30 
→ filexchang:不補了(/‵Д′)/~ ╧╧03/13 12:31 
 --
Tags:
        Linux
        
All Comments
By Audriana 
at 2017-10-31T16:04
at 2017-10-31T16:04
By Valerie 
at 2017-11-04T08:14
at 2017-11-04T08:14
By Charlie 
at 2017-11-06T16:03
at 2017-11-06T16:03
By Valerie 
at 2017-11-08T02:47
at 2017-11-08T02:47
By Jessica 
at 2017-11-12T20:52
at 2017-11-12T20:52
By Mason 
at 2017-11-13T15:22
at 2017-11-13T15:22
By Frederic 
at 2017-11-17T13:16
at 2017-11-17T13:16
By Barb Cronin 
at 2017-11-21T15:04
at 2017-11-21T15:04
By Robert 
at 2017-11-24T14:45
at 2017-11-24T14:45
By Edith 
at 2017-11-27T21:40
at 2017-11-27T21:40
By Charlie 
at 2017-11-29T12:58
at 2017-11-29T12:58
By George 
at 2017-12-03T18:58
at 2017-12-03T18:58
Related Posts
請問回傳的問題?
By Linda 
at 2017-10-30T01:24
at 2017-10-30T01:24
遇到lmstat:command not found
By Gary 
at 2017-10-29T19:36
at 2017-10-29T19:36
如何使用FreeRADIUS實做EAP-PWD加密連線
By Mary 
at 2017-10-29T18:50
at 2017-10-29T18:50
ubuntu新手備份請教
By Elma 
at 2017-10-28T18:34
at 2017-10-28T18:34
啟動EDA軟體出現問題?
By Xanthe 
at 2017-10-28T07:57
at 2017-10-28T07:57