Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 14:17:44 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        bmiddaugNOSPAM@sdf.lonestar.org (Bob M.)
Cc:        questions@FreeBSD.ORG
Subject:   Re: What is the proper shutdown procedure?
Message-ID:  <200208201817.g7KIHjE10215@clunix.cl.msu.edu>
In-Reply-To: <Pine.NEB.4.44.0208201758440.3292-100000@sdf.lonestar.org> from "Bob M." at Aug 20, 2002 06:09:27 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi everybody,
> I was wondering what process to follow when shutting down.  Do you umount
> all the disks first?  If so, any particular order? would you do umount -A
> and does this cover / also?  Would you stop services before or after or
> not at all, does the o/s stop them for you?  Do you use *exit*?  Can I
> just hit the power button? :-)  Thanks,

I normally get a root (login usually) and do a shutdown(8).

       shutdown -h now    to halt in preparation to power off
    or shutdown -p now    to halt and power down if the system supports it
    or shutdown -r now    to reboot

////jerry

> Bob
> 
> -- 
> bmiddaugNOSPAM@sdf.lonestar.org (please remove NOSPAM to reply)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208201817.g7KIHjE10215>