Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

INTRO TO UNIX QUESTIONS. Please, Answers only! Thanks. 1. Write a script to calculate the sum and average of two input numbers. -You will first

INTRO TO UNIX QUESTIONS.

Please, Answers only! Thanks.

1. Write a script to calculate the sum and average of two input numbers.

-You will first get the numbers from the users.

2. Write a bash script to check input value if equal to 5,

-if its true then program will print Value of i is 5

-Otherwise program will go to elif statement where one more condition will be checked and based on these results elif or elase block code will be executed.

3. Write a BASH script to compare numbers in Linux shell.

4. Write a small shell program for finding the greatest value between 3 values taken input by user.

-This program will work with numeric values only.

-If two values are similar it will print only one value.

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

Step: 3

blur-text-image

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

Real Time Database And Information Systems Research Advances

Authors: Azer Bestavros ,Victor Fay-Wolfe

1st Edition

1461377803, 978-1461377801

More Books

Students also viewed these Databases questions

Question

Challenges Facing Todays Organizations?

Answered: 1 week ago