How to run multiple process in single command prompt
hi
Unix exists before the making of GUI interface .since it is a time sharing system ,how can one execute multiple programs in a single command line . (i.e)the program should not be stopped using CTRL+Z instead it should be running(multiple programs). thanks |
I'm not sure, but maybe are you talking about background jobs? To put a process in background, simply type a & at the very end of the command line. To see running jobs in background, use the command jobs.
|
no i am not saying about background jobs .typing ps -e gives a list of background jobs.
if we run a process in a command terminal by typing processname or ./processname the process gets started and the command prompt is inactive . i want 2 know is there any way 2 keep the process running continously and starting another process in the same command prompt. thanks for u r reply |
Quote:
Code:
./processname & |
yeah u r right
i am sorry i was unable to understand when u replied first. why does not the job command does not show all the jobs of the system. it only displays the jobs under its terminal. is there any command to view all the jobs running in the system |
Hi.
I agree with colucix. See http://www.gnu.org/software/bash/man...ref.html#SEC86 for a description of Bash Job Control, which includes the commands for manipulating your processes. The man page for nohup shows how to start processes that survive a logout. Similarly for command screen (although I find it a bit too complex for my use). The commands Code:
ps aux |
Thanks again
Cheers........... |
I have found myself from time to time needing to send a running foreground job to the background. You can do that by CTRL Z and then at the prompt type bg (for background). Hope that adds a little more help on this.
|
All times are GMT -5. The time now is 10:45 PM. |