in fedora 37 1. Create a directory named Module9 and navigate to that directory. 2. Copy the file pay.dat from Module8 to Module9.  Here it is again, just in case: 0001:John Smith:15.40 0002:Jane Smith:15.41 0003:George Jungle:12.10 0004:Ursula Jungle:16.11 3. Using a pipe symbol for filtering and sort the data to stdout. Enter: cat pay.dat | sort 4.  Now, on your own, using a pipe symbol for filtering and sort the data in descending order to stdout and append that to a file named SortPay.dat. 5.  Copy pay.dat to three files named: pay10,dat, pay12.dat, and pay02.txt.  You may need to use multiple commands. 6.  Use pattern matching to locate only pay02.txt. 7.  Enter the command to remove pay2.dat and redirect both stdin and stdout to a file named RemovePay.txt. 8.  Run the command in step 7 again. 9.  Display the contents of RemovePay.txt 10.  Take screen captures  please explain each step and take screenshots

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

in fedora 37

1. Create a directory named Module9 and navigate to that directory.

2. Copy the file pay.dat from Module8 to Module9.  Here it is again, just in case:

0001:John Smith:15.40

0002:Jane Smith:15.41

0003:George Jungle:12.10

0004:Ursula Jungle:16.11

3. Using a pipe symbol for filtering and sort the data to stdout.

Enter: cat pay.dat | sort

4.  Now, on your own, using a pipe symbol for filtering and sort the data in descending order to stdout and append that to a file named SortPay.dat.

5.  Copy pay.dat to three files named: pay10,datpay12.dat, and pay02.txt.  You may need to use multiple commands.

6.  Use pattern matching to locate only pay02.txt.

7.  Enter the command to remove pay2.dat and redirect both stdin and stdout to a file named RemovePay.txt.

8.  Run the command in step 7 again.

9.  Display the contents of RemovePay.txt

10.  Take screen captures 

please explain each step and take screenshots

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 8 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT