The UNIX Operating System

TOP

UP


Ray Seyfarth

ORCA


Computer Science

COST

USM




Filename Patterns


  • The shell expands file name patterns using meta-characters

  • * matches any string of characters

  • ? matches any single character

  • [ab] is used to match either a or b

  • [a-z] is used to match any character in the range a through z

  • Don't create files with *, $, >, <, &, ... in the name

  • Don't start file names with a dash.

  • Use a backslash to over-ride the meaning of a meta-character


University of Southern Mississippi
Ray.Seyfarth@usm.edu
Updated 15:45 Sep 13, 2006