-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 23/11/10 09:22, Kaushal Shriyan escribió: > Hi, > > Which is the preferred method of shutdown of a Linux Server and any > specific reason to go with the specific method. > Please suggest/guide > > Shutdown: > > * init 0 > * shutdown -h now > o -a: Use file /etc/shutdown.allow > o -c: Cancel scheduled shutdown. > * halt -p > o -p: Turn power off after shutdown. > * poweroff > > Thanks > > Kaushal >
That's a bit generic question because it deppends on the type of init-system is using the GNU/Linux distro you are using. It could be sys-v, bsd-style, upstart, etc... Check your distro's man shutdown HTH - -- Hilario J. Montoliu hmontoliu <at> ubuntu.com http://hmontoliu.blogspot.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzrfJ4ACgkQk9xSKJO/Y0H/HQCgid8dVOmUv6OfP+2jJ0vSE/7B OpEAn0AknJ1FvFPdPtdeHGQr8OymRjdh =GNhp -----END PGP SIGNATURE----- -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
