Test status of communication with a host provided by user

Assignment Help Computer Engineering
Reference no: EM132193731

Write a BASH shell script named lab11_ex3 that displays the following menu and prompts for one-character (lowercase or upper case) input to invoke a menu option, as shown:

(A|a) List all files in a given directory. User should be prompt to enter absolute path of that directory.

(B|b) Display whether a file in present working directory is an ordinary file or a directory. If it is a file, it will create a backup copy of a file with extension .bk

(C|c) Test status of communication with a host provided by user using ping command

(Q|q) Exit

The program should allow the user to try any option any number of times and should quit only when the user gives menu option q or Q for Exit

Reference no: EM132193731

Questions Cloud

Create a vector of n random numbers between min and max : Write a C/C+ program that uses a random number generator to create a vector of N random numbers between MIN and MAX.
Analyze the poem below for use of imagery : Analyze the poem below for its use of imagery, metaphor and tone, and how they help us understand the theme. You will be graded in the following areas.
Analyze the colors used in the rooms and objects : Analyze the colors used in the rooms and objects in Poe's "Masque of the Red Death." What do they represent? Who do you think is the narrator?
A bash script to print information about filespace objects : Write a Bash script to print information about filespace objects. The script is to take a list of file system objects on the command line.
Test status of communication with a host provided by user : Display whether a file in present working directory is an ordinary file or a directory. If it is a file, it will create a backup copy of a file with extension .
What is the opportunity cost of one pound of electronics : Trade and Growth - What is the opportunity cost (in soybeans) of producing one one pound of electronics in China and Brazil
Describe the sampling strategy and sampling technique : Provide a brief review of the study. Describe the sampling strategy and sampling technique. Describe the research design.
Write a bnf description for a statement-sequence : Write a BNF description for a statement-sequence as a sequence of statements in which each statement is terminated by a semicolon.
Create a simple text file containing the letter template : Create a simple text file containing the letter template which contains NAME wherever you want the person's name to appear in the letter.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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