Question: 2) Create a textfile called emps.txt with the data given below. smith 1-2-2020 ling 1-2-2020 jones 3-5-2020 chen 10-10-2019 matt 5-8-2019 todd 1-5-2018 keen 1-5-2018
2) Create a textfile called emps.txt with the data given below.
smith 1-2-2020
ling 1-2-2020
jones 3-5-2020
chen 10-10-2019
matt 5-8-2019
todd 1-5-2018
keen 1-5-2018
You are required to sort this file first by year and within each year by month. (The date is written day-month-year). Using linux command line in terminal.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
