Draw a bash script that will prompt for the user''s first

Assignment Help Computer Engineering
Reference no: EM1336480

1) Describe the result of executing each of the following grep commands.

a. grep -c ill memo
b. grep -n ill memo

2) Rewrite the following sequence of commands using sort as a filter. The end result should be a single command line when you are done.

sort roster > temp
lp temp
rm temp

3) Write a command to list all files in current directory, that:

a. Start with the letters b or f.
b. Start with the letters a through k.
c. Have a capital letter anywhere in their name.

4) What is the difference between the following commands?

cat xyz[12]
cat xyz[1-2]

5) Listing for which files will be given by the following command?

ls -l file[1-20]

6) Write a Bash script that will prompt for the user's first and last names and store the responses in two variables. Then it will display the stored information in the format "You entered lastname, firstname." and ask the user for confirmation. If the answer is "y" or "yes", then say "Thank you!", and if the answer is "n" or "no" then start again with the prompts.

Reference no: EM1336480

Questions Cloud

Question about role of compensation : Question about Role of Compensation - Describe the role compensation plays in the achievement of organizational goals.
Why using uml graphical notation : Using UML graphical notation, develop the design for the following system to explain the object classes and show the interaction of the data collection sub-systems (sequence diagrams).
Explain smuckers'' fit or lack of fit - case analysis : Explain Smuckers' Fit or Lack of Fit - Case Analysis and State the main purpose of the response (thesis statement) and what you hope to accomplish
Question about reward systems : Question about reward systems - Identify at least four reasons why designing and implementing reward systems
Draw a bash script that will prompt for the user''s first : Write down a command to list all files in current directory.
Question about resource allocation : Question about Resource Allocation - prepare two documents that thoroughly discuss the following components
Explain southern comfort : Explain Southern Comfort and Should it be distributed more or less intensely than other liquors
Managing an international business : What are the key major staffing models used in managing an international business
Hrm and a nursing home : How would HRM in a health care organization actually "operate" some of these HRM duties?

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