Question: How do we use $ sed to replace info490 with week6? Complete the following command: $ echo info490 | sed ____________ Select one: a. 's_week6_info490_'

How do we use $ sed to replace "info490" with "week6"? Complete the following command:

$ echo "info490" | sed ____________

Select one:

a. 's_week6_info490_'

b. 's_info490_week6'

c. '/s/info490/week6/'

d. 's/info490/week6'

e. 's/info490/week6/'

What is the output of the following code?

$ echo "inFORmaTICS" | tr A-Z a-z

Select one:

a. inFORmaTICS

b. INforMAtics

c. INFORMATICS

d. informatics

When using the $ comm command in Unix, which column of the output shows the lines of text that is unique to the first file input into the comm command?

Select one:

a. The first column

b. comm does not sort its output into columns

c. The third column

d. The second column

We need to be careful when using the $ aspell command, because it overwrites the file after the suggested spellings are chosen or skipped without creating a backup file by default.

Select one:

True

False

Match the following Unix commands with the descriptions.

Report or omit repeated lines.

Answer 1Choose...$ sed$ uniq$ patch$ tr$ comm

Apply a diff file to an original.

Answer 2Choose...$ sed$ uniq$ patch$ tr$ comm

Stream editor for filtering and transforming text.

Answer 3Choose...$ sed$ uniq$ patch$ tr$ comm

Transliteration or delete characters.

Answer 4Choose...$ sed$ uniq$ patch$ tr$ comm

Compare two sorted files line by line.

Answer 5Choose...$ sed$ uniq$ patch$ tr$ comm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!