Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1: For each of the following write a shell script that does the job. Save the file as firstnamelastnameX.sh. X is a number according

image text in transcribed
Question 1: For each of the following write a shell script that does the job. Save the file as firstnamelastnameX.sh. X is a number according to the numbering below 1. Write a shell script that print the current working directory using the PWD command. 2. Write a shell script that list all the files in the current working directory. Bonus point if you use a loop to print each file name in a separate line 3. Write a shell script that read two numbers from the user x and y and print a. x+x b. xy c. x/y Submit your scripts in a zipfolder (firstnameLastname.zip). Paste a screen shot for each execution from the terminal (paste the screen shots in this word documents) Question 2: This is your time to shinel Write your own shell script. The program should have a. At least 4 lines (colon won't countl) b. Should utilize a control structure (loop, condition, etc). c. Define variables. d. Optional: user input, argument passing and command execution Submit your code along with a screenshot of the script and the execution

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

2. How were various roles filled?

Answered: 1 week ago

Question

Intro A share of stock trades at $175 and has a P/E ratio of 17

Answered: 1 week ago

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago