-
Bug
-
Resolution: Done
-
Major
-
RH124 - RHEL10.0-en-3-20250821
-
None
-
False
-
-
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: