- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What are difference between comand "shutdown 0" , ...
Operating System - HP-UX
1821985
Members
3674
Online
109638
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2000 09:06 PM
тАО05-28-2000 09:06 PM
What are difference between comand "shutdown 0" , "init -s" and "init -S"
What are difference between "shutdown 0',"init -s" and "init -S" command?, when change system run level from normal level(3 or 4) to single user state.
Thanks for your answer,
Worapoj P.
Thanks for your answer,
Worapoj P.
For LOVE For Honor For Mankind
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2000 11:02 PM
тАО05-28-2000 11:02 PM
Re: What are difference between comand "shutdown 0" , "init -s" and "init -S"
Hi,
init S|s
Enter the single-user environment. When this level change occurs, the logical system console /dev/syscon is changed to the terminal from which the command was executed.
shutdown
Takes the system to single user mode and 0 indicates in zero seconds
regards
venu
init S|s
Enter the single-user environment. When this level change occurs, the logical system console /dev/syscon is changed to the terminal from which the command was executed.
shutdown
Takes the system to single user mode and 0 indicates in zero seconds
regards
venu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2000 11:05 PM
тАО05-28-2000 11:05 PM
Re: What are difference between comand "shutdown 0" , "init -s" and "init -S"
Hi,
take a look at the man pages:
man 1m shutdown
man 1m init
There you can see that shutdown 0 transients to single user mode in 0 minutes (grace).
The option -s and -S for init are equivalent.
The difference between shutdown an init is that shutdown sends a message to user and executes the rc-files for the desired run level.
Regards
Andrew
take a look at the man pages:
man 1m shutdown
man 1m init
There you can see that shutdown 0 transients to single user mode in 0 minutes (grace).
The option -s and -S for init are equivalent.
The difference between shutdown an init is that shutdown sends a message to user and executes the rc-files for the desired run level.
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2000 11:47 PM
тАО05-28-2000 11:47 PM
Re: What are difference between comand "shutdown 0" , "init -s" and "init -S"
Dear all,
Thanks for your answer please confirm my understanding about "init -s|S" and "shutdown" comand.
init -s|S
Enter to single user environment and console (/dev/syscon) is terminal which this comand was issued.
shutdown 0
Enter to single user state same as "init -s|S" but the diffrence way is" shutdowon" send message to user and don't change /dev/syscon to terminal which this command was issued. It's mean "shutdown" can exeuted on console only.
from Andrew's answer the difference shutdown an init is shutdown executes the rc-files for the desired run level. But I think init will do same as shutdown command.
Thank you very again. For any comment please let me know,
Best regards,
Worapoj P.
Thanks for your answer please confirm my understanding about "init -s|S" and "shutdown" comand.
init -s|S
Enter to single user environment and console (/dev/syscon) is terminal which this comand was issued.
shutdown 0
Enter to single user state same as "init -s|S" but the diffrence way is" shutdowon" send message to user and don't change /dev/syscon to terminal which this command was issued. It's mean "shutdown" can exeuted on console only.
from Andrew's answer the difference shutdown an init is shutdown executes the rc-files for the desired run level. But I think init will do same as shutdown command.
Thank you very again. For any comment please let me know,
Best regards,
Worapoj P.
For LOVE For Honor For Mankind
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP