Useful Tips : How to find the biggest files on a unix system ?
Useful mainly when you've got a problem on a unix system because of the space disk. Because some still manage to fill a server with logs or temporary files especially when some programs go nuts and loop without end.
So whenever this happens, and you're in a directory that contains part of the problem, you can type that :
find . -size +50000 -exec ls {} ; | sort -nr | more
Then, with this command line, you'll be able to find files that are larger than 50 000 blocks long, and they will be sorted and paginated by more.
Enjoy !
Newsletter
Stay updated with new articles.
Keep reading
Useful tips : Insert a clob of more than 4k into database
In fact clob are designed to be large objects consisting of characters, so you might be surprise if you try once, with Java JDBC to insert into a database a String of more than 4000 chars... Because t...
Jun 25, 2009Cheat sheet for vim/gVim
Just in case it would help (and if i lose it... ), it's a very useful cheat sheet for vim, with all commands and moving uses : [Vim Cheat Sheet](http://www.readtfb.net/2009/07/09/cheat-sheet-for-vimgv...
Jul 9, 2009Finding a way to compile OpenOffice.org
The last articles were a helping to getting into this project, but now it's time to find a better way to deal with changed into the code of OOo. When you compile, as the last article describe it, y...
Feb 26, 2009
No comments yet. Be the first to comment!