Creating a bash script

Assignment Help Data Structure & Algorithms
Reference no: EM1380585

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

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

Question2) 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

Question3) 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.

Question4) What is the difference between the following commands?

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

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

ls -l file[1-20]

Question6) Create a Bash script that will prompt for the user's first and last names and store the responses in two variables. Then it will show the stored data 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: EM1380585

Questions Cloud

Illustrate what they do to exchange ideas : According to Spotlight on Small Business Box, "Big Motivators for Small Business", small businesses seem to be better at motivating employees with open communication also more broad-based responsibilities, where employees exchange ideas also becom..
From any source discover commercial property for sale : From any source discover commercial property for sale that you would suspect from its description or appearance that perhaps has environmental problems.
How did the dtis crm team alteration the business process : How did the DTIS CRM team alteration the business process for dealing with abandoned vehicles in San Francisco? How did the old business process work and what kinds of problems arose?
How macro level factors in an external environment have : Discuss how macro level factors in an external environment could have (or already have) impacted structure of online social networking industry in global marketplace.
Creating a bash script : Create a Bash script that will prompt for the user's first and last names and store the responses in two variables. Then it will show the stored data in the format "You entered lastname, firstname."
Define a time when one of your leaders changed her paradigm : Can you define a time when one of your leaders changed her paradigm? How did that effect you and others in the organization? Can you define a time when you had to change your paradigm?
Illustrate what techniques or software might they use : Illustrate what additional hardware might they need for storage also processing. Illustrate what techniques or software might they use to make their research more efficient also lower costs.
During a consultation project a consultant inquired : During a consultation project a consultant inquired an executive board of 20 members to write down the company's vision for the future. When the retorts were collected board members had recorded 20 different ideas,
Explain why toastmasters would or would not help you : Review organization's vision also mission statements. Evaluate information also write an outline for a presentation (2-3 minutes) telling class explain why Toastmasters would or would not help you also your classmates write also deliver an effect..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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