u use the init command to change runlevels.. here is a list of what the
different runlevels under rh linux do:
0 - shutdown system
1 - single user system (aka linux single from lilo prompt!)
2 - multi user w/o networking
3 - multi user with networking
4 - I don't know ;)
5 - Multi user with networking & with graphical logon
6 - reboot the system

so to switch to runlevel 3, u give the command:
#init 3
and u get there!

so if u hav to restart all the networking related services then u do this:
init 2
when that finishes,
init 3 or init 5 (depending on what u wan't!!)

Basically the runlevels allow u to hav the system in different states...
u can also change the meaning of the above, to say for e.g hav runlevel 4 to
hav multiuser with full networking, and 3 to hav multiuser with client-only
networking... and so on!!!

though i hav seen that under some of the rh 7.2 default installs, the
computer's ip address doesn't change w/o a reboot. Can some1 pls explain why
is it so??? Normally a /etc/rc.d/init.d/network restart does the trick :(


> ...I wanted to ask this....How do I go to a perticular runlevel ?
>
> and why would anyone need to goto a perticular runlevel.
> from the shell prompt.
>
> One more thing...
> Suppose I am in linux...on the shell prompt..
>
> now what I want is...that the computer should not reboot...but all the
services/watever started at the time of booting...must
> restart.
> U dig wat i am saying ?
>
> say for eg. I ahve made some chages in the umm...network card settings
and..ummm..apache and send mail etc etc...I know how to
> restart them individualy but I want that everything should restart wihtout
having to reboot.
>
> can jumping to runlevels help in this ?
> I wonder if you have understood wat i am asking...have u ?
>


          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to