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

RH124v9.3:CH02s05 : the option for characters is m, not c in wc command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • RH124 - RHEL10.x NEXT
    • RH124 - RH124-RHEL9.3-en-2-20250415, RH124 - RHEL10.0-en-3-20250821
    • RH124
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 2
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh124-9.3/pages/ch02s05
      Reporter RHNID: chetan-rhls
      Section Title:   h2. Execute Commands with the Bash Shell                                                                     

      Issue description: 

      While it is true that wc options can be used to output lines, words, and characters, the option for characters is m, not c. The byte count is shown when -c is specified (alternately --bytes which is much clearer).

       

       

       

       

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

        1. image-2025-09-06-00-25-07-007.png
          188 kB
          Chetan Tiwary
        2. image-2025-09-06-00-25-23-641.png
          271 kB
          Chetan Tiwary

              zoltanmolnar Zoltan Molnar
              chetan-rhls Chetan Tiwary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: