telinit question

sktsee sktseer at gmail.com
Sat Aug 27 17:06:24 UTC 2011


On 08/27/2011 11:03 AM, Ioannis Vranos wrote:
> Hi to all.
>
>
> The Texinfo and man pages of telinit, mention both in Ubuntu 11.04 and
> Scientific Linux 6:
>
> "Normally  you would use the shutdown(8) tool to halt or reboot the
> system, or to bring it down to single-user mode".
>
>
> However I couldn't find any option in shutdown command, that brings
> the system in runlevel 1 (single user mode). Am I missing something?
>
>

Running shutdown with no options brings the system to runlevel 1.

$ shutdown --help
...
The system is brought down into maintenance (single-user) mode by 
default, you
can change this with either the -r or -h option which specify a reboot or
system halt respectively.  The -h option can be further modified with -H 
or -P
to specify whether to halt the system, or to power it off afterwards.  The
default is left up to the shutdown scripts.

-- 
sktsee





More information about the ubuntu-users mailing list