南港摳頂
南港真是鳥不生蛋 卻是跟台北市一樣貴的物價
2010年3月8日 星期一
ls如何只是輸出directory而不是file
ls如何只是輸出directory而不是file
不知道為什麼我的fbsd的ls -d 只是輸出"."?
ls如何只是輸出directory而不是file
ls -ld */
ls如何只是輸出directory而不是file
好,比我的解決方案好多了: ls -lp | grep /
ls如何只是輸出directory而不是file
ls -l|grep ^d
ls如何只是輸出directory而不是file
ls -l | awk '$1 ~ /^d/ {print $9}' linux system
ls如何只是輸出directory而不是file
--> ls -al | sed -n '/^d/p'
ls如何只是輸出directory而不是file
都不如頭一個解決方案好。
ls如何只是輸出directory而不是file
[code]file *|grep directory[/code]
ls如何只是輸出directory而不是file
--> 這個特別. 8)
ls如何只是輸出directory而不是file
ls -d */
ls如何只是輸出directory而不是file
ls -F |grep '\/$'
ls如何只是輸出directory而不是file
還是#ls -l |grep ^d 好,各個系統通用。
Ref: http://www.lslnet.com/linux/f/docs1/i30/big5237499.htm
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
網誌存檔
▼
2010
(23)
►
12月
(2)
►
8月
(2)
►
7月
(2)
►
6月
(1)
►
4月
(6)
▼
3月
(7)
Perl: Math::Round
Ubuntu: Use bandwidth monitor to output traffic file
The Disk Usage Analyzer
Ubuntu: Checking folder size
Perl: Term::ANSIColor
Perl: Cross pl variable, hashtable, array
ls如何只是輸出directory而不是file
►
2月
(2)
►
1月
(1)
►
2009
(42)
►
11月
(4)
►
10月
(2)
►
9月
(13)
►
8月
(2)
►
7月
(8)
►
5月
(1)
►
2月
(5)
►
1月
(7)
►
2008
(32)
►
12月
(2)
►
11月
(4)
►
9月
(4)
►
8月
(2)
►
7月
(3)
►
6月
(6)
►
5月
(3)
►
4月
(7)
►
3月
(1)
►
2007
(33)
►
12月
(8)
►
11月
(7)
►
10月
(2)
►
9月
(3)
►
6月
(4)
►
5月
(2)
►
2月
(7)
►
2006
(1)
►
11月
(1)
►
2005
(1)
►
11月
(1)
關於我自己
Clotho
檢視我的完整簡介
沒有留言:
張貼留言