Hi All,
I'm new here and also new on CentOs. My boss ask me to do a preventive maintenance on CentOs. What is the step/command to delete unwanted files.
Thanks
Delete unwanted files.
Re: Delete unwanted files.
Step 1: define unwanted files
Come back when you've clarified the answer to that...
Come back when you've clarified the answer to that...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Delete unwanted files.
Thanks for reply.. What I mean is like temp files in windows.
Thanks
Thanks
Re: Delete unwanted files.
There's a package called tmpwatch that you can install with yum then configure /etc/cron.daily/tmpwatch to adjust the paths and time limits to look for. Use `yum install tmpwatch` then read the manpage for tmpwatch.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Delete unwanted files.
FYI, our client did not install GUI, I'm only using command prompt to delete unwanted files.
Thanks
Thanks
Re: Delete unwanted files.
The tmpwatch package doesn't need a GUI nor does editing the cron.daily file to adjust paths.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke