Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-8234

RH442-157: Ch02s07: The description says: "awk '{print $1, $4}' | sort -rnk 2 prints the first and third columns of the output generated by the grep command.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • RH442 - RHEL8.0-en-1-20190828
    • RH442
    • None
    • 2
    • en-US (English)

      URL: https://rol.redhat.com/rol/app/courses/rh442-8.0/pages/ch02s07
      Reporter RHNID: wasim-rhls
      Section: 2.7 - Lab: Selecting Performance Monitoring Tools
      Language: en-US (English)|
      Workaround:

      Description: The description says: "awk '{print $1, $4}' | sort -rnk 2 prints the first and third columns of the output generated by the grep command, and performs a numeric sort on column three in descending order. " This should either say "performs a numeric sort on column two" (as only two columns are being processed at this stage) or "performs a numeric sort on column four" (if we're talking about the original input)

              glsbugs-hybridcloud@redhat.com PTL - RHEL Team
              wraja@redhat.com Wasim Raja
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: