Table of Contents
Linux - Services
How to manage them ?
From the terminal
service xinetd start service xinetd stop service xinetd restart
From Oracle Entreprise Linux / Red Hat
System / Administration / Server Settings / Services
Articles Related
How to
Start a script as a background task?
By adding the ampersand (&) to the end of the command line, you start the application in background.
When you use the command prompt to run the appropriate .sh files, by adding ”&” you start them as a background task.
For example, type:
startdemo.sh&
Check if a program is running
Two methods:
- the file.PID method. Check if the file exist in the directory /home/lsc/
- with the ps command