Parent program should create a child and distribute the task of generating Fibonacci no to its child.
The code for generating Fibonacci no. should reside in different program.
Child should write the generated Fibonacci sequence to a shared memory.
Parent process has to print by retrieving the Fibonacci sequence from the shared memory. i) Implement the above using shmget and shmat Note: Shared object should be removed at the end in the program
i) Parent process should create a child process
ii) Both parent child processes should display their pid and parent’s pid; parent process should also its child’s pid
iii) Load a new program into child...
#!/bin/bash
echo "Enter three numbers (space seperated): "
read a b c
echo -n "Largest Number: "
if [ $a -ge $b -a $b -ge $c ]
then
echo "$a"
elif [ $b -ge $a -a $a -ge $c ]
then
echo "$b"
else
echo...