directory size & QUOTA questions...
Hi all,
what command do I use to check size of files in 1 directory(ie. /home/myfiles/)? and I'm looking for a good tutorial talk about QUOTA(ie install/setup...) to user with my RH linux box. Does anyone know? Thanks |
find /home/myfiles -size +1953 -print
1953 blocks * 512 ~ 1 MB |
err...jerre?!
hct, you'll want to look at a couple commands...one is ls -l ( <- that's a lower case L ) ;-) Also, you'll want the du command. du -ks . ( gives size of directory and it's contents ) du -ks * ( gives size of files and of directories ). As for quota...is there really a reason, any more, to have a quota system? In this day and age of personal set-top servers with 100s of gigs of HD space for pennies a gig? If so, I'd check out man quota, and then do a google search for "howto quota", as I don't recall off the top of my head as to how to set it up. |
err
Early this morning, I distinctly saw the words "find all files over 1 megabyte". Maybe I shouldn't try posting past my bedtime.
|
Heh, happens to the best of us...I had to look over his post a couple times too to make sure that's not what he was talking about myself! ;-)
|
All times are GMT -5. The time now is 08:23 PM. |