Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sed Using cut and sed, change any users home folder from /home/username to /Users/username. Make sure that you only print the lines that were modified

Sed image text in transcribed
Using cut and sed, change any users home folder from /home/username to /Users/username. Make sure that you only print the lines that were modified by sed (Hint: use the -n flag and the print option) Use the following as your input: postfix:x:89:89::/var/spool/postfix:/sbinologin chrony:x:998:996::/var/lib/chrony:/sbinologin charles:x:1001:1001:CHARLES:/home/charles:/bin/bash sshd: x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbinologin student:x:1000:1000:Student User: /home/student:/bin/bash Output: /Users/charles /Users/student

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_2

Step: 3

blur-text-image_3

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

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago