Differences between version 10 and revision by previous author of SIGHUP.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 10 | Last edited on Wednesday, June 15, 2005 11:31:49 pm | by MichaelJager | Revert |
Older page: | version 9 | Last edited on Friday, September 12, 2003 10:01:10 am | by NathanielEliot | Revert |
@@ -5,11 +5,11 @@
kill -HUP 1
and it will re-read the config file (note that the correct way to do this is to use [telinit(8)]).
To restart an inetd(8) service, you find inetd's ProcessId and send a hangup to it:
- killall
-HUP {inetd_pid}
+ kill
-HUP {inetd_pid}
You can prevent a process from recieving a SIGHUP signal by using the command nohup(1)
For example:
nohup wget http://www.example.com/ &
will run "wget" that is not attached to a terminal (and therefore doesn't recieve a SIGHUP) when you disconnect. This is useful if the file you are downloading is long, but you want to logout before the download is complete. The "&" at the end is used to put the command into the background.