O.K. - so whats the deal with that?
# uname -sr
SunOS 5.6
The following scenerio has been dramatized for USENET
One does a 'shutdown -i 0 -y' and one recieves:
Usage: shutdown [ -krhfn ] shutdowntime [ message ]
So one scratches one's head and does a 'man shutdown', seeing:
SYNOPSIS
/usr/sbin/shutdown [ -y ] [ -g grace-period ]
[ -i init-state ] [ message ]
"Perhaps I typo'd" one thinks to oneself and issues said
shutdown command once again - and is once again greeted with:
Usage: shutdown [ -krhfn ] shutdowntime [ message ]
After many curses and much gnashing of teeth, one finally
figures it out - there are *two* shutdowns, the one under
/usr/ucb/ being first in one's path, while the one for
which the man page is intended resides in /usr/sbin like
any decent, self-respecting shutdown command would.
SO ...
Just what *is* the logic behind this tom-foolery, anyhow?
I'd appreciate any enlightenment any kind soul out there
could provide for me.
Beers,
Corey
--
"Windows was created to keep the stupid people away from Unix.
An "MS advocate" is therefore already beneath contempt."
-- Tom Christiansen