Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The shell globbing pattern is made of shell meta characters which are *[]? (and [^...]). Filenames that contain these special meta characters are called
The shell globbing pattern is made of shell meta characters which are *[]? (and [^...]). Filenames that contain these special meta characters are called ambiguous file references because they do not refer to any one specific file. The process that the shell performs on these filenames is called pathname expansion or globbing. Write Shell globbing expressions to find files. 1. Files in /tmp directory whose names end with "db" followed by a digit character, as follows. find /dev -name A A = db[0-9]$ 2. Files in /tmp directory that have as part of their names a uppercase, a lowercase, a digit character in order (not consecutive), as follows. echo /tmp/B #B= 3. Hidden files in /tmp directory whose file names begin with a. (i.e. dot) in them, as follows. find /tmp -name C -maxdepth 1 ^a\. # C =
Step by Step Solution
There are 3 Steps involved in it
Step: 1
1 To find files in the lmp directory whose names end ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started