Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a single shell script hellosh which can finish the list of tasks as below 1. Greet user. E.g. Welcome to computer science society 2.

image text in transcribed
Write a single shell script hellosh which can finish the list of tasks as below 1. Greet user. E.g. Welcome to computer science society 2. Contain a comment section with 3. Print a menu as below your name, and email address Choose the item you want to buy? A. Apple Price: $1 per each B. Banana Price: $0.5 per each C. Orange Price $0.8 per each Print the date(MM/DDAYYYy) after message Purchase date: (see manual page of date command or refer to the webpage at 5. Print out the current working directory 6. List the total number of sh files in your home directory. 7. Print the values of variables HOME, PATH, USER and SHELL 8. List the PIDs of running processes associated to your account 9. Print ifx > 2 y=x*2; else y =y/2; 10. Print "Good bye... followed by the first argument from command line. A sample output is as below: Cheese the item you wat te buy? Price: S Date: 82/2/18

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

Students also viewed these Databases questions

Question

Be relaxed at the hips

Answered: 1 week ago

Question

Is conflict always unhealthy? Why or why not? (Objective 4)

Answered: 1 week ago