Enjoy Slackware 15.0!

Welcome to the Slackware Documentation Project


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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos:general_admin:free_your_space [2013/01/10 02:27 (UTC)]
mfillpot general formatting cleanup
howtos:general_admin:free_your_space [2017/05/26 10:22 (UTC)] (current)
alienbob [/tmp directory] Fix the scriptlet example.
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>

In Other Languages
QR Code
QR Code howtos:general_admin:free_your_space (generated for current page)