Create a simple telephone list

Assignment Help Computer Engineering
Reference no: EM132193674

Question :Write a bash shell script to carry out each of the following tasks:

a. Backup:

Archive as a "tarball" (*.tar.gz file) all the files in your home directory tree (/home/your-name) that have been modified in the last 48 hours. Hint: use the command "find".

b. Phone:

Write a shell script (called phone) that creates a simple telephone list (create an empty file called "phonelist" in your home directory). Each line in this file consists of two fields: a name and a phone number. The script shall do the following:

1. When the user types the command: "phone new name number" this will add new record (name, number) to the list.

2. When the user types the command: "phone name" then the script should search in the file "phonelist" and get the corresponding phone number and display the result.

Reference no: EM132193674

Questions Cloud

What are the benefits of a juvenile system : What are the benefits of a juvenile system? Should all juvenile be tried as juveniles or should be able to try them as adults?
Interesting aspect of ethics training in unethical behavior : Discussion what is the most interesting aspect of ethics training in unethical behavior in the organization and hiring ethical people& code of conduct.
Write a behavioral dataflow verilog implementation : Write a behavioral dataflow Verilog implementation for an 8 to 3 encoder with an active high enable that uses only conditional continuous.
How work is accomplished in every industry : Technology – both physical and information – has dramatically changed how work is accomplished in every industry
Create a simple telephone list : Write a shell script (called phone) that creates a simple telephone list (create an empty file called "phonelist" in your home directory).
Ensuring efficiency and success in bridging home : What are some of the challenges, obstacles, and/or constraints might a business anticipate in regards to ensuring efficiency and success in bridging home
Encouraging you to develop project champions : He is encouraging you to develop project champions in the company, how would you go about that and what would they do?
Why you believe information attack is the greatest threat : Identify which type of information attack described in the Week One readings poses the greatest threat to the United States and its citizens.
How you would react on finding out that your sex is opposite : Discuss how you would react on finding out that your sex is opposite. Would you feel a sense of relief, indifference, or elation? Why

Reviews

Write a Review

Computer Engineering Questions & Answers

  Determine the design issues with the new system

A large, fast-food chain unveiled a new touch screen register for its franchises. Each cashier was assigned a user id and password combination to log.

  Discuss the damage caused by leaks

The disclosures at WikiLeaks have raised significant concerns about the damage caused by leaks. Some claim that in many ways, the Wiki Leaks founder

  Questionconsider a class boulesurprise that models a

questionconsider a class boulesurprise that models a machine dispensing surprise gifts in balls. it contains an

  Create a prototype of a stand-alone website

COIT 20268 - Responsive Web Design (RWD). To complete the given project specified in the Background section above, you are to create a prototype of a stand-alone website for a desktop computer

  What is the format of a memory address as seen by the cache

Suppose a computer using set associative cache has 2^16 words of main memory and a cache of 128 blocks, and each cache block contains 8 words.

  Develop interactive program to read information from a file

Develop an interactive program to read information from a text file, gather the information from the file to produce customer invoice.

  Describe how the developer and you can make this tool easy

Explain the project's goals and indicate why you included the requirements, time frames, and necessary tasks that you did.

  The difference between a conventional torus and folded torus

Explain the graph theoretic relationship among k-ary n-cube network and rings meshes tori binary n-cubes and omega networks.

  A functtion to translates english language text to pig latin

Write a function that translates English language text to "Pig Latin" according to the following rules for translating one word.

  Develop the simulation model and make six runs

The probability of revisiting a workstation is independent in that same part could be sent back many times with no change in the probability.

  Discuss the implications for the last part of problem

Consider fully developed laminar flow of a constant-property fluid in a circular tube. At a particular flow cross section calculate the total axial momentum.

  Write skeletal code for the classes and methods

Write skeletal code for the classes and methods to describe swim, grow, and change in frog's behaviour.

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