What does the following accomplish

Assignment Help Business Management
Reference no: EM132145398

1. In vi, what does the following accomplish? :1,$s/foo/bar/g

a. Substitute foo for bar on line 1 globally

b. Substitute bar for boo on line 1 globally

c. Substitute foo for bar on every line

d. Substitute foo for bar in the entire file globally

e. None of the above

2. $echo "$HOME * $USER" will output

a. The result of $HOME and $USER multiplied together

b. Display*

c. Display $HOME*$USER literally

d. Result in error

e. None of the above

3. The command that create directory and all parent directories is:

a. rm -r a/b/c

b. mkdir -r a/b/c

c. touch a/b/c

d. mkdir -p a/b/c

e. rmdir -r a/b/c

4. Your current working directory is /home/student/foo and you have a file name bar in that directory. What is the result of the following command:

$cp ./bar ..

a. An error will be displayed

b. A copy of bar will be made in home directory

c. File bar will be moved from /home/student/foo into /home/student

d. A copy of bar will be created in /home/student directory

e. None of the above

5. What is the link count of directory after the following set of successful commands?

$mkdir d ; cd d ; mkdir subdir

a. 1

b. 2

c. 3

d. 4

e. None of the above

6. Explain the following command and what will it match? Provide the list of matches that regular expression will match.

$egrep '[ab] [0-3]' somefile.txt

7. Explain the following command and what will it match?

$egrep ' [^ (^$) ] ' somefile.txt

8. Explain the following command and what will be the output?

$wc -w < foo > foo

Use the following named funny.txt for the question below. The field separator is a blank space

2014 Cat Ate Dog

2015 Dog Ate Cat

Mouse Chased Cat Dog

Unix Linux Linux Linux

2016 Only Unix Unix

9. What is the output of:

$sed '/201[56] /s/Dog/Cow/g' funny.txt

Reference no: EM132145398

Questions Cloud

Test with an array of doubles : Test with an array of doubles where at least one of the values is greater than 10.Test with an array of longs where ALL the values are greater than 10.
What do you manage to live without : When the power goes out, explain your biggest inconvenience. What do you manage to live without? If the power is out for 3 days or more.
Determine which position at vernons restaurant you believe : From the Vernon's Restaurant simulation, determine which position at Vernon's Restaurant you believe you would be best suited for. Explain your rationale.
Detract from the overall message a presentation : How can text effects, such as WordArt, add to or detract from the overall message a presentation is trying to convey?
What does the following accomplish : 1. In vi, what does the following accomplish? :1,$s/foo/bar/g a. Substitute foo for bar on line 1 globally b. Substitute bar for boo on line 1 globally
Why market research is important to an organisation : BSBMKG506: List five factors that you would need to consider when determining the market research requirements of an organisation.
What does literature offer an individual : What does literature offer an individual? How has the importance of reading changed from earlier eras (pre-digital/audio/visual media) to our present day?
What kind of response will you focus on in given course : As you explored in the The Value of Literature discussion, literature can provide us with a multitude of perspectives, ideas, and experiences.
Obtain an estimate of the miles-per-gallon fuel efficiency : Research the cost of each model (include taxes and title costs). Also, obtain an estimate of the miles-per-gallon fuel efficiency of each model.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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