Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i am new in shell scripting. Can some one please help me out in Shell scripting program. need it as soon as possible. 4. Write

i am new in shell scripting. Can some one please help me out in Shell scripting program. need it as soon as possible.

4. Write a sed command that takes the output from ls -l issued in your home directory and hanges the owner of all the files from your username to the reverse. Make sure not to change the group if it is the same as your username.

6. Add some more sed substitutions to your txt2html.sed script. In HTML you have to escape certain commands in order that they be printed properly. Change any occurrences of the ampersand (&) character into & for proper HTML printing. Hint: You will need to escape your replacement. Once you have this working, add a substitution that converts the less than and greater than characters (< and >) to < and > respectively.

#! /bin/sed -f

1 i\

\

Converted with sed\

\

\

$ a\

\

\

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

More Books

Students also viewed these Databases questions