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 8 of 11



[!]

The [!] construct is similar to the [] construct, except rather than matching any characters inside the brackets, it'll match any character, as long as it is not listed between the [! and ]. Examples:

  • rm myfile[!9] will remove all files named myfile plus a single character, except for myfile9.

Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact