Quote:
Originally Posted by
psiva_arul
Hi Namishiri,
That's fine how can i use the fg and bg command? can you give one example.
suppose 10 process are running in Background and 5 process are runnit into foreground. Now i wanted to retreive on background process to foreground.
How can i do...?
Any one help me.
Thanks in advance..
Regards,
Siva.P
Bangalore
Understand it like this---
suppose you have to build your application or have to compile a big code that will take plenty of time.
put the commands to compile or build the code,then press ctrl-Z,this will take you to background and the process will stop.
if you put a command --
jobs -l
it will show you the job number of the commands in the background,if there is only one command in the background then put only bg at the command prompt it will start the process in the background.or if there are multiple jobs running then put the job numbers associated with the command which you want to run in background.
Meanwhile you can The window is for you,you can do so many things there.
If you want to take your jobs again running in the main window put fg wioth the job number.Make a try of all this and let me know any doubts.
Thanks
Namish