Debian runlevels. Show curent runlevel. Switching runlevels.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 23 Aug 2012 21:06:31 +0300
changeset 1362 e37c86581fab
parent 1361 f62fc97ba770
child 1363 8e426051845b
Debian runlevels. Show curent runlevel. Switching runlevels.
debian.rst
--- a/debian.rst	Tue Aug 14 17:29:59 2012 +0300
+++ b/debian.rst	Thu Aug 23 21:06:31 2012 +0300
@@ -90,3 +90,24 @@
 
   $ sudo apt-get install dhelp info2www man2html swish++
 
+Debian runlevels.
+=================
+
+ * 0		System Halt
+ * 1		Single user
+ * 2		Full multi-user mode (Default)
+ * 3-5		Same as 2
+ * 6		System Reboot
+
+Show curent runlevel.
+=====================
+::
+
+  $ /sbin/runlevel
+
+Switching runlevels.
+====================
+::
+
+  $ sudo telinit 2
+