Removed a file by accident

Thierry de Coulon tcoulon at decoulon.ch
Sat Oct 9 04:15:59 UTC 2010


On Saturday 09 October 2010, Stephen S. Disbrow wrote:
>     Hello,
>     I'm running ubuntu 10.04 with the latest updates. I accidentally
> removed the  /sbin/restart file. Where can I get this file  from?Can I use
> apt-get or something like that, or do I have to download it from somewhere?
> I do everything from the command line so that method might be best for me.
> Also how can I find out what package that file belonged to?
>
> Thanks for any help,
> Steve

Hi Steve,

Well here (Maverick RC) /sbin/restart is a link to /sbin/initctl so you should 
be able to just recreate this link.

Or I assume if you tell which version you are running someone can send you the 
file (here it's 101.9 kB).

Regards,

Thierry

-- 
"We live at a time when emotions and feelings count more than truth, an there 
is a vast ignorance of science" James Lovelock





More information about the ubuntu-users mailing list