> I know of no way to recover them, but for the future, create an alias
> rm='cp $1 /tmp'
> 
> you just have to set up a cron job or manually remove ,using
> /usr/bin/rm, all the file in tmp every so often.  We set this up on
> students computer's.  We don't tell them about it so if they do they
> learn a lesson, but can recover it if it's truly important.
> 
> You could also log to a syslog server so they can't delete them. Well it
> would just make it more difficult, they'd have to break into both
> machines.
> 
> -Mike

I like that idea, I've lost couple of file by accident before.

A follow up question though, is there a way to do that with enforcing
options like 'rm -i', this way it first asks if you want to delete them
and then copies the file to /tmp if you answer yes

Tom


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to