What is the purpose of the echo command

Assignment Help PHP Web Programming
Reference no: EM13947738

Copy the following shell that completes the following:

#!/bin/bash
echo Select a country from the following list:
echo America, Italy, France, Germany
read country

case $country in
[Aa]merica ) echo Ford; echo Perhaps;;
[Ii]taly ) echo Ferarri;echo no;;
[Ff]rance ) echo Peugeot ;echo no way;;
[Gg]ermany ) echo Porsche ;echo yes;;

esac

Run the shell from above.

Answer the following questions:

- What is the purpose of the echo command?

- In the case statement, why are the first letters both caps and lower case?

- What does esac mean?

Create your own shell that completes the following problem:

- Ask the user their name.

- Compare it to your name.

- Give a reply that their response is either your name too or it is a nice name too.

Reference no: EM13947738

Questions Cloud

What is the margin of error in this confidence interval : Determine a 95% confidence interval for the mean battery lifetime assuming the population standard deviation is not known. Interpret it. What is the margin of error in this confidence interval?
What is the dark side of self esteem : What is the dark side of self-esteem? What impact does low self-esteem have on behavior?
How much safety stock does the company carry : Compute the reorder point assuming that safety stock is carried by Quadrex. How much safety stock does the company carry?
Compute the oxygen evaporation rate : Moisture in the ambient air will result in frost forma- tion on the container, causing the surface emissivity to  increase.  Assuming  the surface  temperature  and convection   coefficient   to   remain   at   -10°C   and 10 W/m2 · K, respectivel..
What is the purpose of the echo command : In the case statement, why are the first letters both caps and lower case
What strategies would you develop and implement to continue : What strategies would you develop and implement to continue safeguard Airport properties against sea level rise? What effective course of action you would take in protecting and conserving our shoreline properties?
What is the reorder point for lawn mower engines : What is the reorder point for lawn mower engines? Compute the number of lawn mower engines that should be produced per setup to minimize total setup and carrying costs for this product.
Highlight some important milestones : Write a 750- to 1,050-word article in which you define population health. Include how it came to be and highlight some important milestones that helped shape it.
Generally increase if firm lowers its debt-equity ratio : A firm's cost of capital will generally increase if the firm lowers its debt-equity ratio. The cost of equity will generally increase for risky firms when the risk-free rate of return increases. An increase in which one of the following is most apt t..

Reviews

Write a Review

PHP Web Programming Questions & Answers

  Describe how cookies can be used to store information

Describe how cookies can be used to store information on a computer and how the information can be retrieved by a PHP script. Assume that cookies are not disabled on the client.

  Student counseling expert systemthis is a web-based expert

student counseling expert systemthis is a web-based expert system rule-based. wamp should be the platform of execution.

  Question 1-are all laws ethical why or why not provide

question 1-are all laws ethical? why or why not? provide examples of ethical and unethical laws.support your answer

  Question 1explain when risk transfers to the buyer in a

question 1explain when risk transfers to the buyer in a sale of goods transaction and explain the exceptions to the

  Question 1a describe how the web database architecture

question 1a describe how the web database architecture operates while accessing a php script. illustrate your answer

  Function in php that receives a number as an input

Write a function in PHP that receives a number as an input and returns true if the number is a prime number, and false if it is not prime.

  Designing page to count number of page views in php

Design a page to count number of times page is viewed by a user in single session in PHP/SQL.

  The process of legal analysis ie the

the process of legal analysis i.e. the issue-rule-analysis-conclusion format is the analysis which all lawyers are use.

  Access database called imagemasters

Required: Write a PHP and / or AJAX script that performs these functions, and appends a member's order to the table T_Orders. The orders web page and the database are attached.

  Prepare an ajax enabled web form utilising a listview

prepare an ajax enabled web form utilising a listview control that will allow logged-in staff to list edit delete

  The purpose of this written project is for the student to

the purpose of this written project is for the student to proceed through all of the steps required in planning and

  How to create a register and login form

how to create a register and login form

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd