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

RH124-11: Text additions and changes to 2.6. Practice: Command-Line File Management

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • RH124 - RHEL 7 0
    • RH124 - RHEL 7 0
    • RH124
    • None
    • ROL

      URL:
      Reporter RHNID:
      Section: -
      Language: |
      Workaround:

      Description: https://rol.redhat.com/rol/roc/course/ch02s06.html

      The example shows:
      [student@serverX ~]$ touch song1.mp3 song2.mp3 song3.mp3 song4.mp3 song5.mp3 song6.mp3
      [student@serverX ~]$ touch snap1.jpg snap2.jpg snap3.jpg snap4.jpg snap5.jpg snap6.jpg
      [student@serverX ~]$ touch film1.avi film2.avi film3.avi film4.avi film5.avi film6.avi

      I know it will come up in a few pages, but we could mention that curly brace expansion could make this much easier: $ touch song

      {1..6}.mp3 snap{1..6}

      .jpg film

      {1..6}

      .avi

      Also, when copying, moving, and removing files in these exercises, using the * wildcard could also simplify the steps. Since this will be covered on the following page, we might add a note telling students that these steps can be simplified using globbing or wildcards.

      In step 2, the directions say, "From your home directory, move the song files into your Music subdirectory, the snapshot files into your Pictures subdirectory, and the movie files into your Videos subdirectory." - Either the directions should change to say "copy" or the example output should change to use the "mv" command.

            ralii Robert Locke (Inactive)
            rht-miphilli Michael Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: