[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:general_admin:free_your_space [2013/01/10 02:27 (UTC)] – general formatting cleanup mfillpothowtos:general_admin:free_your_space [2017/05/26 10:22 (UTC)] (current) – [/tmp directory] Fix the scriptlet example. alienbob
Line 16: Line 16:
  
 <file bash /etc/rc.d/rc.local_shutdown.append> <file bash /etc/rc.d/rc.local_shutdown.append>
-/usr/bin/find /tmp -mindepth 1 -maxdepth 1 -print0 | xargs -0r /bin/rm -rf+/usr/bin/find /tmp -mindepth 1 -maxdepth 1 -exec /bin/rm -rf {} +;
 </file> </file>
  
Line 62: Line 62:
 find /tmp -type s -exec /bin/touch {} \; find /tmp -type s -exec /bin/touch {} \;
 find /tmp -type d -empty -mtime +37 -exec /bin/rmdir {} \; find /tmp -type d -empty -mtime +37 -exec /bin/rmdir {} \;
-find /tmp -type f -mtime +37 -exec rm -rf {} +find /tmp -type f -mtime +37 -exec rm -rf {} \;
 </code> </code>
  
 howtos:general_admin:free_your_space ()