Question: Using Linux, 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

Using Linux,

Using Linux, Using cut and sed, change any users home folder from

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 : ?: 1000: 1000: Student User :/home/student : /bin/bash Output: /Users/charles /Users/student

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!