Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6. Can you run multiple versions of ./b.sh in the background? What happens to their output? 7. Can you execute a second instance of our

6. Can you run multiple versions of ./b.sh in the background? What happens to their output?

7. Can you execute a second instance of our shell from within our shell program (use './shell')? Which shell receives your input?

8. What happens if you type CTRL-C while the countdown script ./b.sh is running? What if ./b.sh is running in the backgroun

9. Can a shell kill itself? Can a shell within a shell kill the parent shell?

./shell

./shell

/bin/kill -s KILL NNN (Where NNN is the the parent's PID.)

10. What happens to background processes when you exit from the shell? Do they continue to run? Can you see them with the 'ps' command?

./shell

./b.sh&

exit ps

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data In Just 7 Chapters

Authors: Prof Marcus Vinicius Pinto

1st Edition

B09NZ7ZX72, 979-8787954036

More Books

Students also viewed these Databases questions