LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2007, 08:36 PM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile how to know current(now) my working environment init 1,2,3,4,5,6?


Hi, how to know now my working environment is in "init 2,3,4,5", init 1,4,5 i know because 1 is halt, 4 is dont know what?, 5 is X(GUI). so what command should i use to check now my situation init?

Thank for help me so much...
 
Old 08-23-2007, 08:40 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
You should try searching before asking a question. More often then not, the answer is already out there.

How can I determine which runlevel my system is currently in?

This may not work on Red Hat 8, but give it a try.
 
Old 08-23-2007, 08:56 PM   #3
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
runlevel

shows:

<previous runlevel> <current run level>

ex:

N 5 <---- N means that you didn't change from any runlevel since boot. 5 means you are in run level 5 now.

if you switch to 3 from 5 then this will show:

5 3

self explainatory
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with X consoles - "shell-init: error retrieving current directory" lowpro2k3 Slackware 4 03-26-2007 06:36 PM
Environment variables not working iansoundz Linux - General 3 12-02-2005 02:28 PM
favorite C working environment? Jaster Programming 5 02-22-2005 10:19 PM
Setting environment variable to current date/time nafan Programming 1 08-23-2004 09:04 PM
edit path environment variable to include current working directory alb1954 Linux - Newbie 8 07-11-2004 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration