LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What happens f your linux system is at run level 5 and you use the command telenit 3? (https://www.linuxquestions.org/questions/linux-newbie-8/what-happens-f-your-linux-system-is-at-run-level-5-and-you-use-the-command-telenit-3-a-908394/)

Beandip408 10-16-2011 12:05 AM

What happens f your linux system is at run level 5 and you use the command telenit 3?
 
can someone please answer this for me? i cant seem to find out the answer to this, and obviously i dont want to try it if i dont know what it does.

corp769 10-16-2011 12:37 AM

All it does it change your run level to run level 3.

Beandip408 10-16-2011 12:39 AM

thank you so much for the help

Nylex 10-16-2011 03:47 AM

Really, you could have looked at the man page, which says (amongst other things):

The runlevel is changed by having a privileged user run telinit, which sends appropriate signals to init, telling it which runlevel to change to.

kasl33 10-16-2011 04:07 AM

It also depends on your distro. On some, telinit doesn't exist. When they don't, they will have init instead.

Also, if you wanted to boot directly to runlevel 3, you could simply add the number 3 at the end of the kernel line when you edit grub during stage two of the booting process.

corp769 10-16-2011 12:11 PM

To add to that, you could also change your inittab configuration and change the default run level.


All times are GMT -5. The time now is 11:32 PM.