LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to restart dns,nfs services in cli mode (https://www.linuxquestions.org/questions/linux-networking-3/how-to-restart-dns-nfs-services-in-cli-mode-756111/)

pradeep parthiban 09-18-2009 01:20 AM

how to restart dns,nfs services in cli mode
 
how to restart dns,nfs services in cli mode:

Vookimedlo 09-18-2009 08:36 AM

/etc/init.d/bind restart
/etc/init.d/nfs restart

fordeck 09-18-2009 08:39 AM

I couldn't tell from your post what distribution you are using. If you were using a RedHat based distribution, you could do something like:

Code:

service <name_of_service> restart
Where <name_of_service> is the name of the service you want to restart for example:

Code:

service named restart
Would restart the DNS service.


Regards,

Fordeck


All times are GMT -5. The time now is 06:03 AM.