/tmp/*

Scot Mc Pherson scot at linuxfromscratch.org
Fri Oct 25 15:09:39 PDT 2002


On Fri, 25 Oct 2002 21:38:06 -0400, Ian Molton wrote:

> Hi.
> 
> Once again, I bring up this topic.
> 
> We really need to remove the contents of /tmp when we boot.
> 
> I just (again) had X-windows refuse to start because of this.
> 
> It saves a lock file (/tmp/.X0-lock) and wont start until it is removed.
> 
> We should clean it along with /var/run
> 
> Which brings me on to a related point...
> 
> how the HELL do you get rm to delete hidden files when you do rm -rf
> /tmp/* ?
 
rm -rf /tmp/{.[!.]*,*}

or

rm -rf /tmp/.??*


Scot Mc Pherson

l33t g00n
-- 
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