Question: Linux Shell Scripting Print all lines that end with the word test. File name is file1. Write the commands to place number 5 in variable

Linux Shell Scripting

Print all lines that end with the word test. File name is file1.

Write the commands to place number 5 in variable x and then subtract 2 from it.

Write a script to read two numbers into variables called x and y. Display which number is greater and which number is smaller. If the numbers are equal display that the two numbers are equal.

Write a script to get the name, email, phone number of several students. Save these results in a file called info. Also ask the user to see if the loop should be continued or not. At the end display the file sorted based on the name of the students.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!