linux - php script just filled up harddrive with junk how do i find it? -


i ran php script filled nix servers harddrive 15gb of sort of junk, how find junk can delete it? i'm not sure if it's huge error_doc file or what

one option use find command.

find / -type f -size +50m 

will search downwards root directory items files larger 50mb. if want limit how many subdirectories want search, can use -maxdepth switch.

find / -maxdepth 3 -type f -size +50m 

will files larger 50mb, recurse 3 directories down.

this assumes know files created larger size, , can pick them out if displayed.

you might able make use of knowledge files created recently.

find / -type f -mmin 60 

should find files modified in past hour.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -