Monday, 17 February 2020

Wildcards in Linux scripting

Types of wildcards


  1. ? - exactly  place wildcard.
  2. * - multiple place wildcard.
use of wildcards in Linux scripting:
  • Act like filter.
  • copy,remove,list files and print output files(>) based on filter applied in wildcards.

Note: Delete files with wildcards might happens. if file names are standard naming conversion.
          eg: dd-mm-yyyy.log  

No comments:

Post a Comment