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

Tilde Expansion Example Missing Prerequisite User Setup

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh124-10.0/pages/ch07s05
      Reporter RHNID: shasingh01
      Section Title:  Matching File Names with Shell Expansions                                                                       

      Issue description

      The example demonstrating tilde expansion for another user (e.g., ~manager1) assumes the user manager1 already exists on the system. However, the material does not instruct learners to create this user beforehand, which can cause confusion when ~manager1 fails to expand and simply returns the literal string.

      Follow the example as shown:

      echo ~manager1

      Observe that it returns ~manager1 instead of /home/manager1 if the user does not exist.

      Please review and fix with steps or Note

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              zoltanmolnar Zoltan Molnar
              shasingh01 Shashi Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: