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

 Write a single shell script hello.sh which can finish the list

Write a single shell script hello.sh 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 your name, and email address. 3. Print a menu as below 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 eaclh 4. Print the date(MM/DD/YYYY) after message "Purchase date:" (see manual page of date command or refer to the webpage at http://www.thegeekstuff.com/2013/05/date-command-examples) 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 if x>2 y-x * 2; else y-y/2; 10 Print "Good bye..." followed by the first argument from command line

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!