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

  Random integral numbers based on normal distribution

Prepare a system to generate random integral numbers based on normal distribution. Study Data Generator's structure and extend number generation type to activate normal distribution.

  Shopping cart program for web applications class

Shopping Cart program for web applications class. Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for all items.

  Create a web site for an apple farm

Create a web site for an apple farm. Create an HTML5 form allowing visitors to create an account with the site. Account details are to be stored in your MySQL database. Information should be stored in a secure way.

  Develop a dynamic website open university

Develop a dynamic website Open University

  Sample website project

This website consists of three sections: a narrative, a storyboard, and a business Website.

  Online banking application

Designing and developing a web applications The company you are working has secured a contract with a local banking group to develop an ONLINE BANKING APPLICATION using PHP and MySQL.

  Design a dynamic database

Design a dynamic database using Mangodb, html , and php.

  Show the accessibility and usability of website

The webpage must have several menus about country Azerbaijan such as "About Azerbaijan" "History" "Geography" "Landscape" and "Accessibility" menu.

  Implement a web application

Implement a web application called CS320Starter, which is similar to the crowd funding platform Kickstarter where people raise funds for their projects.

  Prepare an ajax enabled web form

Prepare an AJAX enabled web form utilising a ListView control that will allow logged-in staff to list, edit, delete, insert magazine details for magazines from a selected magazine category.

  Create a very simple order system as a web application

Create a very simple Order System as a web application.

  Which of the following jsp expressions is valid

A JSP expression can contain any Java expression that evaluates to a String object, Java object, primitive type, primitive type or Java object

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