Pls post hibernate.sh - I deleted mine :(
Dave S
ubuntu at pusspaws.net
Mon Oct 31 19:43:49 UTC 2005
James Gray wrote:
>On Sunday 30 October 2005 20:05, Dave S wrote:
>
>
>>Dave S wrote:
>>
>>
>>>Hi all,
>>>
>>>Due to an act of great stupidly I managed to delete my
>>>
>>>/etc/acpi/hibernate.sh
>>>
>>>Can anyone post a copy of theirs so I can copy it ?
>>>
>>>Cheers
>>>Dave
>>>
>>>
>>Thanks guys, thats great.
>>
>>I will be more carefull with 'rm' from now on :)
>>
>>dave
>>
>>
>
>FWIW when I use rm as root I always use "rm -i" so it prompts before delete.
>This was a tip I was given many (many) years ago when I started administering
>Unix systems. You may even want to add an alias to root's profile for
>interactive shells "alias rm='rm -i'". Be careful though, some scripts will
>initiate a shell that loads aliases (profile etc) and it may not expect the
>interactive rm mode...thus breaking the script. YMMV.
>
>Happy rm-ing!
>
>James
>
>
rm -i sounds good but I was sure, really sure I had made a backup ... ah
well its a learning curve
Dave
More information about the ubuntu-users
mailing list