On Fri, May 13, 2005 at 09:49:26PM +0000, Rafael Muoz Moreno Davila wrote:
> Hi all!
>> I have a problem with the room on one of my partitions, I don't anough
> much room left. How can I know what takes the more room and clean it
> so it can continue working normaly?
The incantation I use for this is
du -hs *
in the root of the partition, and then use this again on the biggest
directory found, recursively.
If another partition is mounted on top of it a -x will prevent it being
added. If you want to sort it 'du -s * | sort -g' works nicely. Hidden
files in the current directory can be summed with 'du -hs .??*'
'rm filename' removes a file, 'rm -rf directory' removes a directory and
all its contents - USE WITH CARE, always keep backups etc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 185 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/ilug/attachments/20050513/e7b946dd/attachment.pgp
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!