Question: 1 . Your script will then solve each of these pathname expansion exercises. You need to use the variable in all paths. a . List
Your script will then solve each of these pathname expansion exercises. You need to use the variable in all paths.
aList the contents of the ~Documentscis directory that start with "lab" and end in anything else
bList the contents of the ~Documentscis directory that start with "lab" and end in txt
cList the contents of the ~Documentscis directory that start with "lab" and have the next character of or and end in anything else
dList the contents of the ~Documentscis directory that start with "lab" and have the next character of or and end in txt
eList the contents of any directory inside your home that has the first letters Do and end in anything else but are directories not files. You are listing the contents of the Do directories. Files that are inside of those directories are fine to list. This should still use your variable for the path but will need to add some relative pathname elements to the path to get to the right directory. Also note that you should not use and ls options to get the directories, it is possible to use just pathname expansion to get what you want here.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
