On Fri, 15 Oct 2010 11:33:45 -0800 Ken Irving wrote:
> Note, though, that the '*' will still be there if the glob operation
> fails to expand to anything.
>
> $ echo foo /usrz*
> foo /usrz*
>
> I guess this makes sense, since just about all characters can be used in
> filenames, but I alwa
On Fri, Oct 15, 2010 at 01:13:33PM -0600, Bob Proulx wrote:
> javajo91 wrote:
> > "For example, if you wanted to list all of the files in the directories /usr
> > and usr2, you could type ls /usr*.
>
> Because the '*' is a file glob. It is called a glob because it
> matches a glob of characters.
javajo91 wrote:
> "For example, if you wanted to list all of the files in the directories /usr
> and usr2, you could type ls /usr*.
Because the '*' is a file glob. It is called a glob because it
matches a glob of characters. The process of the expansion is called
globbing. "/usr*" matches "/usr
On Fri, Oct 15, 2010 at 12:01:11PM -0700, javajo91 wrote:
> "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