O'Reilly logo

Linux and Unix Shell Programming by David Tansley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.4. Matching a single or string of characters with *

Using this special character allows us to match repeatedly any number of occurrences of any character or string. One example is:

compu*t 

will match the character u once or repeatedly:

computer computing compuuuuute 

Here’s another example:

10133* 

will match

101333 10133 101344444 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required