Ciao

I found out that the command "find" is very powerful (have a look at man find).
It can be extremely useful to remove all the kde sockets on the /tmp directory.
Yes, they don't occupy phisical space in the hard disk, but they do occupy
phisical space on term whenever you type ls.

Just typing:

find /tmp -ctime +1 -type s -exec rm -f \{\} \; 

which means "Starting from /tmp find all the stuff which satisfies the
following condition":

-they are created more than 1 day ago (-ctime +1)
-they are socket (-type s)

and remove them (-exec rm -f \{\} \;).
inside the command given by exec the "{}" is a synonimous of the file which is
being elaborated.

The question, now, is:

Where do I put this command to be executed at boot time? Maybe, in boot.local?
Are there better places?

Suggestions are, as always, welcome.

Ciao,

Maurizio

P.S.
There is a guy on this list which likes to end up his mail with the statement
"have a good one". What does it mean?

M.
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to