dorinda
asked on
While Loop
Is there a way to write the a while loop with a wildcard. I can do the command with a For loop but would really like to make it work with a while loop. For example:
cd /etc
for x in b*
do
echo $x
done
cd /etc
for x in b*
do
echo $x
done
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.