Restarting Network Services In Suse
Do any one know if there is a command in suse that will allow you to restart services like Redhat and Mandrake?
Ex. service network restart - start - stop service dhcpd restart- start - stop Thanks |
Try /etc/init.d/network (start/stop/restart)
|
Try
ls /sbin/init.d/ One of the scripts here should be your networking startup script, then simply /sbin/init.d/networking restart |
You could use
Code:
/etc/init.d/network restart |
Oops, sorry for the repeat. I guess I am a slow typer.
|
Thanks everyone for the response... for network service info ..
Can the same principal be applied to to restarting dhcpd, samba and others?? |
Yes, have a look in /etc/init.d for all available scripts.
|
Thanks abisko00 I see them now ...
I guess I would need to change my enviroment settings so I could execute all commands in the /etc/init.d just by typing a single command like >> smb restart >> instead of typing the enitre path like >> /etc/init.d/smb restart |
I guess a simple
Code:
export PATH=$PATH:/etc/init.d |
Yep it worked just fine!!! abisko00
Thanks again |
All times are GMT -5. The time now is 08:25 AM. |