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

  1. Home
  2. Homework Library
  3. Computer Science
  4. Linux
  5. Use the Linux editor of your choice to put the wines.txt file onto ...

QuestionQuestion

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 PreviewSolution Preview

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

Q2)
sort -n -r -k1 wines > winessortedr...

By purchasing this solution you'll be able to access the following files:
Solution.docx and Solution.zip.

$50.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Linux Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats