Tuesday, November 12, 2013

Become a member

Become a member

Thursday, January 24, 2013

Unix File sorting and recursive listing



I found the below commands very useful for UNIX.



1.If you are in / and you have to list all the files recursively:

ls -lR



2.If you want to list the files sorted by size :



ls -l | grep ^- | sort -nr -k 5 | more