Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Linux : Education - Tutorials
LPI certification 101 exam prep, Part 1
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
5. Introducing wildcards
  


Wildcard syntax: * page 5 of 11


Now that we understand how globbing works, let's review wildcard syntax. You can use several special characters for wildcard expansion; here's one:


*

* will match zero or more characters. It means "anything can go here". Examples:

  • /etc/g* matches all files in /etc that begin with g.
  • /tmp/my*1 matches all files in /tmp that begin with my and end with 1.

Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact