Write a shell script containing only one statement exit


Problem

1. Write a program that accepts two small numbers (< 50) as arguments and then sums the two in a child process. the sum should be returned by the child to the parent as its exit status, and the parent should print the sum.>

2. Write a shell script containing only one statement: exit 123456. Run the script and then invoke echo $? from the shell. Explain why the value provided in the script is different from the output.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a shell script containing only one statement exit
Reference No:- TGS02672090

Expected delivery within 24 Hours