Question: 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.
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
Get step-by-step solutions from verified subject matter experts
