We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

SunnyJim on 11/04/06


Tagged

Shell Bash files directory


Versions (?)


Who likes this?

11 people have marked this snippet as a favorite

px
fugue
nremtbgr
happolati
vali29
copyleft
therobot
gAmUssA
alexxx
Leech
dertimbo


Find Large Files


Published in: Bash 


This command will list every file under /my/directory larger than 250kB and sort it largest to smallest.

  1. find /my/directory -size +250k -ls | sort -nr -k 7

Report this snippet 

You need to login to post a comment.