On Fri, 2003-03-07 at 12:41, DuSTiN KRySaK wrote: > Hi there... > > How does one restart/stop/start a service from the command line? > > I have a desktop reference book of commands, and can't seem to find it in > there. > > Also - how would one see the services available on the command line and > their current status (start/stopped)? >
Dustin You will get better response by creating new message threads rather than replying to an exiting thread. This irritates some of the old timers and will cause them to skip it. for services properly set up in /etc/init.d you can use the service command. service sendmail status is an example stop start status restart are usually there to use as arguments I do not know of a standard command to see what the status of all services is currently. I suppose you could do : for serv in $(ls --ignore killall /etc/rc.d/init.d); do echo $(service $serv status) ; done you can use chkconfig --list to see what packages are started at the various runlevels. HTH Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list