There's a series of standard utilities, see man batch
, or you can roll-your-own with a shell program (or "script"). Either of those is straight-forward and relatively simple to accomplish.
You can execute any command (an executable program, be it binary or shell) in background by
If you want to execute something that will take a long time and you want to log off and go home or something, you can
and it'll keep running after you log off (obvious: the other way won't).
You can check the status of anything you've launched by using the ps
ps -ef | grep progname < to see if something you've run is still running>
kill -9 PID < the PID you got from the previous ps>
See man ps
for an explanation of PID (it's the process identification number).
In all cases, running programs in background will be executed at a lower priority; i.e., they won't go as fast as they might if you simply enter the name and hit the return key.
The shell program way is better if you edit a file with appropriate commands in it if you're doing a string of jobs where job a must complete before job b starts and so on then execute that shell program. You can do that by
chmod 755 progname < makes it executable >
progname & < or nohup progname >
Hope this helps some.