Use the Linux editor of your choice to put the wines.txt file onto...

Question
Use the Linux editor of your choice to put the wines.txt file onto your system, and name the new file just wines. (Do not use the period at the end of any sentence in any file name.) Everything here is to be done in Linux.

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.
Solution Preview

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

Q2)
sort -n -r -k1 wines > winessortedr
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.docx
Solution.zip
Purchase Solution
$50.00
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 645 tutors matched
ionut
Ionut
(ionut)
Master of Computer Science
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (6,806+ sessions)
1 hour avg response
$15-$50 hourly rate
Pranay
(math1983)
Doctor of Philosophy (PhD)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (6,696+ sessions)
1 hour avg response
$40-$50 hourly rate
Leo
(Leo)
Doctor of Philosophy (PhD)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (6,467+ sessions)
2 hours avg response

Similar Homework Solutions