Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed 

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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Accounting

Authors: Floyd A. Beams, Joseph H. Anthony, Bruce Bettinghaus, Kenneth Smith

11th Edition

978-0132568968, 9780132568968

More Books

Students also viewed these Accounting questions