Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2. Give ungraded assignments to encourage exploration.

Answered: 1 week ago

Question

Explain the importance of nonverbal messages.

Answered: 1 week ago

Question

Describe the advantages of effective listening.

Answered: 1 week ago

Question

Prepare an employment application.

Answered: 1 week ago