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.
These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use 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.