Question: (Linux terminal) a) Create two files color1 and color2 using cat command. color1 pink blue green yellow purple color2 pink purple Display the difference between

(Linux terminal)

a) Create two files color1 and color2 using cat command.

color1

pink

blue

green

yellow

purple

color2

pink

purple

Display the difference between the two files.

Sort the file color1 alphabetically.

Merge color1 and color2 into a new file color3.

Display color3 with no duplicate lines.

Display all words in file color3 that have the letter y.

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!