The following steps are to be put into a script name finalscriptFirstLast, where First is your first name and Last is your last name. The commands must run in order. The script must be written so it could run in a scheduler, including full path names. The script must include the following:
1. Sort the wines file into a file named winessorted.
2. Sort the wines file into a file named winessortedr, putting the wines into reverse alphabetical order.
3. Put all the wines into another file by year. Do not edit the initial file to do this. Include all the wines. The new file should be called winesbydate.
4. Create another file that includes all the files listed above. This file should be called winestotal. Put the date at the top of the file using a variable, so that any time the command or commands run, that day’s date will show up at the top of the file.
Include screenshots of putting the initial file into an editor as well as each command that you use and all the output files listed above.
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.Q1)
sort -n -k1 wines > winessorted
sort -n -r -k1 wines > winessortedr...
By purchasing this solution you'll be able to access the following files:
Solution.docx and Solution.zip.