[PLUG] Failed boot and no startx

Cooper Stevenson cooper at cooper.stevenson.name
Thu Mar 6 12:03:02 UTC 2003


Sean,

Here is a command that will (fairly) safely delete all files in your
/tmp directory that are older than 5 days old.

The operative here is "fairly." There is the potential for this command
to remove files in directories other than /tmp. There is every chance
this will happen if you type the command in incorrectly. PLEASE BE
CERTAIN YOU HAVE TYPED THIS COMMAND EXACTLY AS I HAVE TYPED IT:

  find /tmp -atime +5 -exec rm -rf {} \;

If you are squeemish and wish to manually "okay" each file before it is
removed from your system enter the following at the command prompt:

  find /tmp -atime +5 -exec ok {} \;

The above will ask you for verification to make sure you wish to delete
the files this command finds. Some distributions have an alias for 'rm'
to do this by default. In effect the first command may ask you for
verification if your distribution is set up this way.


-Cooper



On Thu, 2003-03-06 at 11:18, Sean Dixon wrote:
> Can I rm all files in tmp without causing any problems?  There is all
> sorts of crude in there.  One file called rhl-gsg-en-80.pfd is 4G alone
> 
> -----Original Message-----
> From: plug-admin at lists.pdxlinux.org
> [mailto:plug-admin at lists.pdxlinux.org] On Behalf Of Rich Shepard
> Sent: Thursday, March 06, 2003 11:08 AM
> To: plug at lists.pdxlinux.org
> Subject: RE: [PLUG] Failed boot and no startx
> 
> 
> On Thu, 6 Mar 2003, Sean Dixon wrote:
> 
> > Holy cow!
> 
>   They make the best hamburgers.
> 
> > /dev/hda2	size=11G  	Used=11G  	Avail=0	Use=100%
> > 
> > How could I possibly use up 11G?
> 
>   Easy. Large temporary files. Now run (as root):
> 
> ls -l / | less
> 
> and you'll see what's taking all that space on the root filesystem.
> 
> Rich
> 
> Dr. Richard B. Shepard, President
> 
>                        Applied Ecosystem Services, Inc. (TM)
>             2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.  + 1
> 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard at appl-ecosys.com
>                          http://www.appl-ecosys.com/
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 






More information about the PLUG mailing list