Question: In a redhat linux distro Write a shell script that will ask a user to enter a number ( MAX _ STUDENTS ) Check the

In a redhat linux distro Write a shell script that will ask a user to enter a number (MAX_STUDENTS) Check the value of MAX_STUDENTS variable inside your script. If the value is more than 25, print out a message to the user: 'sorry, 25 is a maximum number of students in class' If the value is less than or equal to 25, print out a message to the user: 'ok'.

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 Programming Questions!