How Use Init Command in Linux?

How Use Init Command in Linux?
Contents
Runlevel Mode Action
0 Halt Shuts down system

What is init program?

In Unix-based computer operating systems, init (short for initialization) is the first process started during booting of the computer system. … Init is started by the kernel during the booting process; a kernel panic will occur if the kernel is unable to start it. Init is typically assigned process identifier 1.

Where is init located in Linux?

Init is the parent of all processes, executed by the kernel during the booting of a system. Its principle role is to create processes from a script stored in the file /etc/inittab. It usually has entries which cause init to spawn gettys on each line that users can log in.

David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.