Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Write Single Shell Script Hellosh Finish List Tasks 1 Greet User Eg Welcome Computer Scien Q35583469

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

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 Show transcribed image text 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

Leave a Reply

Your email address will not be published. Required fields are marked *