Question: distribution ubuntu linux step-by-step show me command in the file Program 1: Suppose we have a file called protocols.txt including three columns. The first one

distribution ubuntu linux
step-by-step
show me command in the file
Program 1: Suppose we have a file called protocols.txt including three columns. The first one contains the name of the protocol, the second one contains the input data flow and the third one contains the output data flow. The file could be shown as follows: The fields are separated by tabs. 1. The program should display a menu to choose between Input and Output flow 2. A test should be carried out whether the choice is 1 (for Input data flow) or 2 (for output data flow) 3. A loop should verify that the given value is 1 or 2 4. A command should display the protocol name and the input or output data flow with respect to the given choice 5. The output of the command should be given in a loop to read line by line 6. Test whether the line is empty. In this case the loop should end 7. Store the read value in the positional parameters 8. Display the data flow in form of \#\#\#\#, where each \# symbol corresponds to the value 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
