Re: tmp files dumping



In comp.os.linux.misc, on Fri 24 March 2006 20:51, John Hasler
<john@xxxxxxxxxx> wrote:

Bill Unruh writes:
For example put in an entry into roots crontab which says

0 4 1 1-12/1 * find /root/tmp -mtime +30 rm \{\} \; which would
delete all items older than 30 days old from /root/tmp at 4AM on the
first day of each month.

Or put a similar command in /etc/bash_logout.

Putting the command in /etc/bash/logout would probably not make it
execute very frequently since it would need to wait until the user
logged out.

Personally, I tend to log out less frequently than I reboot - simply
because my last two reboots were courtesy of the Electricity company.
--
Robert HULL

Archival or publication of this article on any part of thisishull.net
is without consent and is in direct breach of the Data Protection Act
.



Relevant Pages

  • Re: EWF/DUA help needed
    ... > Your script does not reboot the device because it likely fails on the EXECUTE command. ... I have changed the script file, ... it may not be good implementation of your script for the purpose of changing running app with EWF on. ... > With EWF command you just commit a registry change to move/replace the JP.exe file on next reboot. ...
    (microsoft.public.windowsxp.embedded)
  • WG: Problem with ACPI / reboot: Black Screen? Part No 2
    ... The problem is the "reboot" command. ... I have testet with pfsense 1.2.3 and then works the reboot command. ... I habe testet wirth Knoppix 6.7.1 (Kernel 3.0.x) and the reboot command works. ... swap pager pageins ...
    (freebsd-current)
  • Re: problems with 10.04 upgrade to 12.04
    ... then asked for the root password to enter maintenance mode. ... There's no 'network' command (or indeed 'cnf' ... leave it off if you wish, but ensure that you 'install --reinstall ... Reboot & once back on the desktop if the above completed without ...
    (Ubuntu)
  • RE: Configuring NIC Card
    ... reboot use the full path command and stick it in your /etc/rc.local file. ... If the reader of the message is not the intended recipient, ... We recently upgraded our network switch to a 10/100 Mbps switch. ...
    (RedHat)
  • Re: Problem controlling display/screen with xorg.conf
    ... reboot the computer), let it boot into its default configuration, then ... The lspci command will tell us what video hardware you have. ... driver supports. ...
    (Fedora)