Main menu:

Site search

Categories

Archive

looking for space hogs?

Here are a few commands strung together to find all the files that are more than 1000000c in size.

What is 1000000c? That would be character (unbuffered) special

find /var -size +1000000c -exec ls -l {} \;

 a variation on this is to find large files that have been accessed in the last day

find /var -type f -size +2048b -mtime -1 -ls |more

Write a comment