S. Bougerolle steveb at creek-and-cowley.com
Fri Oct 25 21:59:24 PDT 2002

On Sat, 2002-10-26 at 09:38, Ian Molton wrote:

> We really need to remove the contents of /tmp when we boot.

> how the HELL do you get rm to delete hidden files when you do rm -rf
> /tmp/* ?

1) Use TMPFS for /tmp so you don't need to worry about it.

2) If that isn't practical for some reason:

find /tmp -mindepth 1 -exec rm -rf {} \;

Steve Bougerolle
Creek & Cowley Consulting


Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list