[SATLUG] Runlevel Switching

K. Spoon kell at spoonix.com
Wed Jan 3 18:54:42 CST 2007


On Wed, Jan 03, 2007 at 12:27:23PM -0600, HickBilly wrote:
> > To add to what Jeremy said, I always used 'telinit', which upon researching 
> > it just now is apparently very similar to 'init'.  So,
> > 
> > prompt> telinit 3
> 
> I tried both init, init 3, and telinit 3, and each time bash says the
> command was not recognized.  Jeremy's response has not reached my server
> (roadrunner).  Thank you for your help David.  It must be cockpit error
> on my part.  I ran the commands from a user terminal as that appears to
> be the only command-line available to me.

You need to be root in order to run the command.  It's located in /sbin
(or /usr/sbin), which isn't in the normal user's path, but the command
is definitely there.  :)

Another option you have is to use virtual consoles.  Most distributions
provide you with 6 virtual consoles and if an X server is running, it's
put on the 7th one.  If you are already in a console, you can switch
between them by simply hitting <Alt>+Fx where "x" is 1-6 (or 7 for the
X server).  If you are in X windows, then you will need to add in the
<Ctrl> key to switch over to the virtual consoles.

So...

(inside X, go to the first virtual console):  <Ctrl>+<Alt>+F1
(inside a virtual console, get back to X)  :  <Alt>+F7


-- 
K. Spoon <kell at spoonix.com>


More information about the SATLUG mailing list