Restarting the inetd daemon
Hi i was wondering if there was a way to restart the inetd daemon in one command. I am guessing it has something to do with combining the "kill -HUP" and the "pidof" command, i just cant work it out. Thanks
|
killall -HUP inetd
or pidof inetd kill -HUP <pid> |
Or "/etc/init.d/xinetd restart". Perhaps /etc/init.d/inetd restart, depending on your installation.
|
thanks very much guys, I used "kill -HUP `pidof inetd`" and that worked. Thanks for the fast replys :D
|
All times are GMT -5. The time now is 08:13 PM. |