[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pathname expansion part two
From: |
javajo91 |
Subject: |
pathname expansion part two |
Date: |
Fri, 15 Oct 2010 12:01:11 -0700 (PDT) |
Reading "Learning the bash shell" and came across a passage that i simply
cannot get to work:
"For example, if you wanted to list all of the files in the directories /usr
and usr2, you could type ls /usr*. If you were only interested in the files
beginning with the letters b and e in these directories, you could type ls
/usr*/[be]* to list them."
When i type /usr*/[be]* i do not get all the files within /usr that begin
with a b or an e but instead get ALL the files within /usr/bin and /usr/etc.
Am i reading this correctly?
--
View this message in context:
http://old.nabble.com/pathname-expansion-part-two-tp29974516p29974516.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.
- pathname expansion part two,
javajo91 <=