Question: UNIX/LINUX QUESTION. Please solution only . Thank you! 1. Create an alias that translates the command ls into ls l. Test the alias. Give an

UNIX/LINUX QUESTION. Please solution only. Thank you!

1. Create an alias that translates the command ls into ls l. Test the alias. Give an ls command that does not use the alias. Remove the alias and show that the alias no longer exists.

2. Write a BASH script called tempConverter that takes one input argument for Fahrenheit-and processes the Fahrenheit to Celsius formula below to convert the temperature entered to

Celsius: Celsius: C = (F 32) * (5 / 9)

a) First prompt the user for the city name and read the city

b) Second prompt the user for the temperature in Fahrenheit

c) Process the temperature conversion using the formula given above

d) Based on the new Celsius temperature, display a short message telling the user if its winter, summer or fall based.

e) Use the IF, ELSE statements to check for the season as we did in previous lab active activities.

3. Write a BASH Script/Program based on the following requirements. The program should to prompt the user for how many courses the plan to take next semester and prompt the user to enter each of those courses before displaying all the information entered back on the screen.

4. Using BASH interactive shell, instantiate an array or a list that holds three-letter abbreviations for the first six months of the year and display the list.

5. Write a BASH function named greetings that displays a simple hello message, such welcome to CSCI-50 BASH Sscrpting. Demonstrate that the function works by invoking it to show its output.

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!