Question: 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

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!