oracle@mutation#ls -lrt
total 6
-rw-r--r-- 1 oracle dba 0 Sep 4 05:34 a
-rwxr-xr-x 1 oracle dba 8 Sep 4 05:34 aa.sql
-rwxr-xr-x 1 oracle dba 0 Sep 4 05:34 a.sql
-rw-r--r-- 1 oracle dba 3 Sep 4 05:52 b
-rwxr-xr-x 1 oracle dba 70 Sep 4 05:53 somescript
oracle@mutation#find . -type f -size +0 -print
./aa.sql
./b
./somescript
oracle@mutation#find . -type f -size +0 -print | wc -l
3
oracle@mutation#ls -lrt | awk '$5!=0' | grep -v total
-rwxr-xr-x 1 oracle dba 8 Sep 4 05:34 aa.sql
-rw-r--r-- 1 oracle dba 3 Sep 4 05:52 b
-rwxr-xr-x 1 oracle dba 70 Sep 4 05:53 somescript
oracle@mutation#ls -lrt | awk '$5!=0' | grep -v total | wc -l
3
oracle@mutation#
[Updated on: Mon, 04 September 2006 15:14]
Report message to a moderator