Home / Expert Answers / Computer Science / question-1-20-marks-use-https-www-jdoodle-com-test-bash-shell-script-online-or-equivalent-an-pa662

(Solved): Question 1: [20 marks] Use https://www.jdoodle.com/test-bash-shell-script-online/ or equivalent an ...



Question 1: [20 marks]
Use https://www.jdoodle.com/test-bash-shell-script-online/ or equivalent and do some research on writi

Question 1: [20 marks] Use https://www.jdoodle.com/test-bash-shell-script-online/ or equivalent and do some research on writing functions to create a shell script that performs the following. (Note: choose the interactive mode in JDoodle so you can enter input. a) Printing a welcoming message that contains your branch name, faculty of computer studies, first and last names and your ID number. (1 mark) b) Write a shell script that prompts the user to enter a shape name (Circle, Triangle, Square) and a shape symbol , and then draws the corresponding shape using the specified symbol. (19 marks) c) Provide screenshots of the output for at least three cases for example (square, triangle, rectangle) case. Note: Copy and paste your shell script in your answer sheet (figures or code screenshots are not allowed) AOU Egypt Branch, Faculty of Computer Studies, FName, Lname, 123456: Enter a shape name (square, triangle, rectangle, circle): square Enter a shape symbol (e.g.,*,,, etc.): Enter the size of the square: 4 Enter a shape name (square, triangle, rectangle, circle): triangle Enter a shape symbol (e.g.,*,,, etc.): Enter the height of the triangle: 3


We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe