I just noticed that my hard drive is filling up with unnecessary files. what is the command to clean it up?
I’ve had to do this in Mandriva a while ago on my other pc.
I’m running opensuse 11.2 KDE 64 bit
I just noticed that my hard drive is filling up with unnecessary files. what is the command to clean it up?
I’ve had to do this in Mandriva a while ago on my other pc.
I’m running opensuse 11.2 KDE 64 bit
Here is a quote I found directly out of another forum message on how to clear the /tmp folder on a restart:
The usual way actually is removing the content of /tmp while booting (which is not default on SuSE).
I’m sure this is common knowledge, but anyway:
Open /etc/sysconfig/cron, search for a line saying
Code:
CLEAR_TMP_DIRS_AT_BOOTUP=“no”
…and edit “no” to “yes”. This could also be done via GUI: YaST → “Editor for /etc/sysconfig”.
I saved this method for future use and use it on all loaded copies of openSUSE and it seems to work like a champ. You can use the menu/run command and enter “kdesu kwrite /etc/sysconfig/cron” without the quotes. Enter the root password, search for the string above, change it, save it and restart openSUSE.
Thank You,
what’s the command to use kwrite to edit the file in root?
Yast is more confusing than the command line. I can’t find where to look in Yast.
Use the run command with: kdesu kwrite /etc/sysconfig/cron
Enter the password, search for the string, change the option to yes, save the file and restart openSUSE.
Thank You,
Thank you
YaST > System > /etc/sysconfig editor.
Then expand + System + Cron and there you see the whole bunch.
Not to difficult imho. Try to get aqaintanced with YaST a little bit by looking inside all the features. This will save you a lot of time when you need something and you are to stressed to look at ease. lol!