CIS206_4.5_Redirection_and_Piping_Corey_Adams

docx

School

ECPI University, Greensboro *

*We aren’t endorsed by this school

Course

206

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

2

Uploaded by corada5995

Report
Guided Practice Lab Report Before completing this guided practice report, you should have completed the associated procedure. Screenshots As you complete the procedure for the guided practice, add your screenshots below.
Guided Practice Questions After you have completed the procedure for the guided practice, provide your answers to the guided practice questions here. 1. What does the output of the wc < test.txt command (2 8 36) represent? Not sure? Try man wc, info wc, or pinfo wc (you may have to install pinfo). This command prints the length in terms of the number of characters in a line. This output represents that there are 2 lines, 8 words in the longest line in the given text file test.txt and file size is 36 bytes. 2. How many newlines, words, and bytes are in test.txt? There are 2 lines, 8 words in the longest line in the given text file test.txt and file size is 36 bytes 3. Why might you want to redirect command line errors using 2>error.log? File descriptor 2 is the standard error and is used to redirect the standard error logs to a file named error.log
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help