Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

init 6: what script to boot the system

Posted on 2004-10-17
Last Modified: 2013-12-27

I know when we do init 6, rc6 will be called to shut down the system. What I am wondering is when the system comes back with autoboot, what is the script called to boot the system? Thanks
Question by:ebi168
  • 2
LVL 38

Accepted Solution

yuzh earned 90 total points
ID: 12335845
Have a look at "Booting process in Solaris":

Expert Comment

ID: 12336545
Warning :

if you reboot the system with
init  [ 0123456abcQqSs ] or reboot
the system not start the files in /etc/rc0.d
(K files) to down system.

This init or reboot  kill the processes.
When you have a DB (Example : Oracle , Sybase , db2)
is same as power off for DB.

Only schutdown active the down programs in the /etc/rc0.d
(K files)

shutdown -y -i6 -g5

Look man shutdown

or cat /etc/shutdown


Author Comment

ID: 12339350

I don't quite understand your words. What is the difference between init 6 and shutdown?

Assisted Solution

Otetelisanu earned 60 total points
ID: 12341224
With schutdown all script from /etc/rc2.d work.

You can make a test.

Write a script example K01test
echo 'Test' >/your_dir/file_test
chmod a+x  K01test.

If you start  schutdown after reboot find the file /your_dir/file_test
If you  start  init 6 you have not the  file .


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using Grep to Find a file 8 98
Sparc Solaris hangs without crash dump & no events from messages 3 86
AIX 5.x set up arrow to recall 11 58
Linux: disable vim auto-comment 7 136
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question