Write a bash shell script prompt user to enter first name

Assignment Help Programming Languages
Reference no: EM1356185

1. Write a Bash shell script named phone.bsh that prompts the user the to enter first or last or any portion of person's name, so that can be found the appropriate entry in the phone directory file called phones which may be found in the ~unx122/examples directory.
If the user tries to enter name as the argument on the command line, he/she will get a warning message "You need to provide name when prompted by this script!".

If the person's entry does NOT exist in the file phones then it will be displayed the following message "Name NOT found in the phone directory file!" (where Name is the user's input).

Reference no: EM1356185

Questions Cloud

Principles of classical and operant conditioning : Compare and contrast the main principles of classical conditioning and operant conditioning. Provide an example of when classical conditioning may be useful. Provide an example when operant conditioning may be useful.
Global macro economic variables : what can organizations do to address the issues you identified above? Provide at least 3 reference sources to support your position.
Illustrate what is the proper role of unions : Illustrate what is the proper role of unions. Why are they declining in membership and influence in the economy.
Forecast book value and return on common equity : An analyst presents you with a following pro forma that gives her forecast of earnings and dividends for 2007 -2011. She asks you to value the $1,380 millions shares outstanding at the end of 2006,
Write a bash shell script prompt user to enter first name : Write a Bash shell script named phone.bsh that prompts the user the to enter first or last or any portion of person's name, so that can be found the appropriate entry in the phone directory file.
Examine the importance of competitive intelligence : Examine the importance of competitive intelligence and analysis in regards to the development of Kudler Fine Food's marketing strategy and tactics.
Cognitive interventions among older adults : Cognitive Interventions among Older Adults: an article that is about the trends in psychological research methodology.
Investment timing : Suppose you can purchase an optical scanner today for $400. The scanner provides benefits worth $60 a year. The expected life of the scanner is tenm years. Scanners are expected to decrease in price by 20% per year.
How economy is currently at potential output : Suppose that the economy is currently at potential output. Also suppose that you are an economic policy maker and that a college economics student asks you to rank.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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