[Wylug-discuss] maintenance
Jack Kelly
endgame.dos at gmail.com
Sun Aug 19 14:46:53 BST 2007
Anne Wilson wrote:
> On Sunday 19 Aug 2007, Andrew J Cole wrote:
>>> Also is there any routine
>>> maintenance I should be doing in Linux specifically Ubuntu?
>> The occasional backup of impartant data perhaps?
>>
> I'd also recommend cleaning out the /tmp directory from time to time. I do it
> with a weekly cron.
>
> tmpwatch --mtime --verbose --verbose 168 /tmp
>
> <quote>
> You may not want the --verbose, and check the manpage for the --mtime
> option, but basically this deletes all files in /tmp that have not been
> modified for 168 hours or more.
> </quote>
I just have /tmp mounted on a tmpfs. If you're interested, here's my
fstab line:
tmp /tmp tmpfs mode=1777
0 0
-- Jack
More information about the Wylug-discuss
mailing list