Keep in mind, --help is your friend!  Your lover!  A very close 
distant cousin! lol

[root@yoda /root]# shutdown --help
shutdown: invalid option -- -
Usage:    shutdown [-akrhfnc] [-t secs] time [warning message]
                  -a:      use /etc/shutdown.allow
                  -k:      don't really shutdown, only warn.
                  -r:      reboot after shutdown.
                  -h:      halt after shutdown.
                  -f:      do a 'fast' reboot (skip fsck).
                  -F:      Force fsck on reboot.
                  -n:      do not go through "init" but go down real fast.
                  -c:      cancel a running shutdown.
                  -t secs: delay between warning and kill signal.
                  ** the "time" argument is mandatory! (try "now") **

Personally I like to put nice "greeting messages" with the warning 
message option like "GET THE HELL OFF MY MACHINE" but that's up to
you! :0)

A "man shutdown" will also provide some very good help.  Actually
reading the whole thing answers a lot of questions!

Good luck!
tdh
--
T. Holmes
Unixtechs.org
[EMAIL PROTECTED]
www.unixtechs.org/
                                  
"GUI BAD.... Console GOOOOD!!"

* L. H. LOO <[EMAIL PROTECTED]> [010117 06:19]:
> At 16-01-2001 +1300, you wrote:
> >Hi!
> >Running LM 7.2. The system reboots ok but when I issue the 'halt'
> >command it hangs up and errors/segmentation faults appear.
> >What is causing this?
> >Thanks!
> IIRC, the command is  : shutdown -h  now for immediate shutdown.

Reply via email to