What is pkill command and what is pkill -HUP option do and what effects could it have over the running applications, could it stop the listeners of some applications that are already running???
pkill is related to the pgrep utility. If, for example, you typed pkill -HUP inetd, it would search for a running process with that name and sent it a SIGHUP signal (in this example inetd would then re-read its configuration file).
It replaces having to type ps -ef | grep inetd to find the process ID, and then type kill -HUP 123.
So the answer to your second question is probably yes, depending on what processes the SIGHUP was sent to.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.