-Edward-
03-31-2003, 11:31 AM
Hi,
In my root directory i have a few files i was wondering if it's safe too delete the following:
.bash_history
.cpan
.lftp
.mysql_history
.profile
i've never noticed these files before as i've never used ls -al in that directory.
-Edward-
03-31-2003, 12:04 PM
It's handy working at at an ISP :)....
the systems team tell me it's find too delete.
-Edward-
03-31-2003, 12:05 PM
not sure about .cpan though it's a directory?
BruceT
03-31-2003, 01:01 PM
You've obviously done some Perl upgrading - the .cpan directory contains Perl module install-related stuff from CPAN. You can remove it if you wish, especially as the /root directory lives in the (small) / partition.
-Edward-
04-01-2003, 04:13 AM
Thanks removed the directory and i lost a massive 3% of the size of my root partition. i've got it down to 84% is there anything else i can remove? i've moved tmp, man and a few others to home but it doesnt get much smaller.
BruceT
04-01-2003, 12:42 PM
Be very careful moving /tmp as it gets symlinked by some other stuff, needs certain permissions, etc.
Check /usr - that's where a lot of "third party" stuff usually installs itself. I always install stuff under /home (things like MySQL etc) as it has the most room. Symlink to /usr/whatever if needed.
Use "du" to see what dir is taking up the most. Go to / and do
du -h --max-depth=1 .
Then go into the biggest subdir it lists and repeat. Keep going down until you find where all your space is being used.
FYI, on my RaQ 4 (not sure what server you have) my / partition is always around 72-73% used, so you don't have too much more to remove.