Artificial intelligent assistant

Foreground and Background I just wanted to make sure that I understand the foreground and background process. Let's say, I have a program Hello_world. If I want to start the program I type in the foreground: Hello_world Then if I want to continue Hello_world in the background I type: bg Hello_world If I want to kill the job I type: kill -9 %(job#) Also, how would I check to see if the job is terminated?

If you type:


jobs


It should tell you what status are your background jobs in.

See manual for further info.

**Example:**


./job &


Now it is running on background.

You can kill it by:


kill %1


or use any switch like:


-HUP

-TERM

-KILL


In any case in the end you would like to see:


[1]+ Terminated ./job


And this is done again by `jobs` command.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy b50ae51b93756dfefb7e7cf7e237f3ff