Introduction

This page briefly describes how to start background processes ("daemons") on UNIX.

The & Sign

An & sign placed at the end of shell commands instructs the shell to run the program as a background process. The shell will display the process's id ("pid"). Use the "kill" command to stop the process passing in the pid of the background process.

nohup

nohup perl -e "for(;;){sleep(100);}" &

Starting Daemons at Boot Time

UnixDaemon (last edited 2006-03-05 17:06:46 by devguy)