shutdown

I read somewhere that shutdown without any parameter takes you into single user mode. When I try it, I get a usage msg with a list of parameters....

This is on 11.0-RELEASE-p1 i386.
 
I read somewhere that shutdown without any parameter takes you into single user mode.

Code:
     When run without options, the shutdown utility will place the system into
     single user mode at the time specified.
It says without options, not without parameters. Subtle difference.

Without options: shutdown now
Without parameters: shutdown
 
Code:
     When run without options, the shutdown utility will place the system into
     single user mode at the time specified.
It says without options, not without parameters. Subtle difference.

Without options: shutdown now
Without parameters: shutdown
I'm not sure I understand the subtle difference but anyhow I thought that just running shutdown without anything else (options or parameters) would place the system in single user mode....
 
In this case a parameter is a time (or the 'now' keyword), options are -h, -p, -r etc.

The easiest way to switch to single user mode is using init(8): init 1
 
Back
Top