Question: PART 2 : sed. Clear your terminal window. Type in echo Large melons > produce.txt Type in echo Large bananas > > produce.txt Type in
PART : sed.
Clear your terminal window.
Type in echo "Large melons" produce.txt
Type in echo "Large bananas" produce.txt
Type in echo "Small berries" produce.txt
Display the contents of produce.txt with cat.
Make a copy of produce.txt named produce.txtbak in the same directory.
Type in sed i sLargeHuge produce.txt
Display the contents of produce.txt with cat.
Type in diff produce.txt produce.txtbak
Take a screenshot of the commands and output of steps Name it labscreenshot
Clear your terminal window.
Type in sed i sHugeMedium produce.txt
Display the contents of produce.txt with cat.
Type in sed n bananas produce.txt and note the output.
Type in sed i bananasi Medium oranges' produce.txt
Display the contents of produce.txt with cat.
Take a screenshot of the commands and output of steps Name it labscreenshot
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
