Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1 write the following ten commands. Write a command that will change all / characters to + in the file. Write a command that will

Q1 write the following ten commands.

Write a command that will change all "/" characters to "+" in the file.

Write a command that will add one blank line after every existing line in the file.

Write a command that will change the all "-" characters to "/" characteres in every line that begins with an "F" or a "C" character.

Write a command that will change all the "/" characters to ")" characters in all lines that end with a ")" character.

Write a command that will insert the contents of the /etc/passwd file between lines 14 and 15 of the file.

Write a command that will sort lines 7 through 26 of the file into alphabetical order

Write a command that will add a "#" character to the start of every line that does not already start with a "#" character.

Write a command that will append all lines of the /etc/passwd file that contain the word "STUDENT" to the end of the file.

Write a command that will move the last word of each line to the start of the line.

Write a command that will add the line number to the beginning of each line. Note that vim will display line numbers - what you must do is insert the line number at the start of each line.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions

Question

Question 9 of 11

Answered: 1 week ago