Computers and Technology

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 each 4. Print the date(MM/DDA) after message "Purchase date:"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 the command line.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:30, dpinzoner5952
Which of the following commands is more recommended while creating a bot?
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, evanwall91
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
image
Computers and Technology, 24.06.2019 03:40, Eylul30
4. does the kernel phenotype distribution support the idea that the cob is the result of a dihybrid cross? what information supports your answer? if a dihybrid cross (i. e. f1 to f2 of standard mendelian crosses) is not indicated what conditions might contribute to this finding.
Answers: 2
image
Computers and Technology, 24.06.2019 13:30, andybiersack154
Consider jasper’s balance sheet. which shows how to calculate jasper’s net worth?
Answers: 1
Do you know the correct answer?
Write a single shell script hello. sh which can finish the list of tasks as below: 1. Greet user. E....

Questions in other subjects: