Running Server Programs in UNIX
In this example, we assumed the server program is running in a window of its own.
In UNIX, you can run a process in the background by adding an ampersand to the command:
This process can go on running even after you log out.
If you use this mechanism, make sure you know how to kill the process when it is no longer needed, e.g.:
sirah$ ps –udbc # Processes of user dbc
PID TTY TIME CMD
30399 ? 00:00:00 java
30355 pts/2 00:00:00 bash
. . .
sirah$ kill -9 30399 # The process ID