No actually in some other versions of unix ( i can think of wipros winix
for one) shutdown -y answers yes to the question "do you really want to
shutdown ?"
This confirmation question is not there in linux, hence the shutdown
command was failing for him.


Rohit wrote:
> 
> Mandar Behere wrote:
> > Hi,
> > As far as man pages are searched, it doesn't show -y option for shutdown.
> > If it's a valid option what does it do ?
> 
> He mistyped y instead of t. Forgive him, Mandar.
> 
> > > "shutdown -y now" server does not shutdown instead it
> > > returns to bash prompt.
> 
> See what happens if you say 'reboot' ?
> 
> > > When I press ctrl-alt-del the
> > > server starts shutting down immediately be it any
> > > point of operation of the server ie booting or booted.
> > > I want to disable this. How do I do it?
> 
> init captures this key-combination [CAD] and issues the command
> which is in the line containing
> 
> ctrlaltdel
> 
> in your /etc/inittab
> 
> Check this out.
> 
> Rohit
> 
> -----------------------------------------------------------------------
> LIH is all for free speech.  But it was created for a purpose - to help
> people discuss issues about installing and running Linux.  If your
> messages are counterproductive to this purpose, your privileges to
> submit messages can and will be revoked.

-- 
_END_
Robin S Chatterjee Yahoo pager ID -Robinchatterjee
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
FAX 1-(815)550-6171
Robin's Poetry Pages
http://www.geocities.com/singerosongs
Robin's Perl Pages
http://www.geocities.com/robinchatterjee

-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to