CS253 – Q2. How to kill a process properly? . (Solution)

$ 29.99
Category:

Description

You have given a three scripts that takes an input file from the terminal via redirection and keeps on printing the content of input to stdout(1) upto
some time.
Create a script that uses these three scripts & prints the content to the screen. Use distinct inputs to each of the three scripts above.
The script you wrote must run three instances of our script as background processes each with one of the script above and disctinct input file.
Try to kill them before printing stops.
Learn
You need to read up on signal handlers, kill command, sending signals & finally io-redirection to scripts.
Submission

Zip the contents of Q2 and then submit the zip as a part of the main zip you submit to the portal.
three
three
It must contain the report steps.txt for how you performed the task.
The script file you wrote.
The original script files.
The input files you used for printing the texts.

Reviews

There are no reviews yet.

Be the first to review “CS253 – Q2. How to kill a process properly? . (Solution)”

Your email address will not be published. Required fields are marked *