SlideShare une entreprise Scribd logo
1  sur  1
Unix exercises
List minimal match filename for the following shell globbing expressions
ie smallest file name that the expression will match.
(A minimal match is what is needed for the shell to yield filenames.
Example: Minimal match for *.opl is .opl - you can verify minimal match by
creating sample files and using echo with the regular expression.)
AB.*?
..??.abc
*.[ch]
What is the difference in meaning of * and [A-Z]* in shell globbing.
Solution
* means it accepts filename that has capital letters as well assmall letters
[A-Z]* means it aceept the file that has filename with capital letters but not small letters

Contenu connexe

Plus de rtodd63

Type your question here Does the table represent an exponential functi.docx
Type your question here Does the table represent an exponential functi.docxType your question here Does the table represent an exponential functi.docx
Type your question here Does the table represent an exponential functi.docxrtodd63
 
ty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docx
ty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docxty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docx
ty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docxrtodd63
 
True-False (a) Ganymede is the only known satellite to have an intrins.docx
True-False (a) Ganymede is the only known satellite to have an intrins.docxTrue-False (a) Ganymede is the only known satellite to have an intrins.docx
True-False (a) Ganymede is the only known satellite to have an intrins.docxrtodd63
 
True or false- If true or false state your reason- 2 lanes are subspa.docx
True or false- If true or false state your reason-  2 lanes are subspa.docxTrue or false- If true or false state your reason-  2 lanes are subspa.docx
True or false- If true or false state your reason- 2 lanes are subspa.docxrtodd63
 
true or false The Doppler effect is a change in frequency due to the r.docx
true or false The Doppler effect is a change in frequency due to the r.docxtrue or false The Doppler effect is a change in frequency due to the r.docx
true or false The Doppler effect is a change in frequency due to the r.docxrtodd63
 
tte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docx
tte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docxtte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docx
tte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docxrtodd63
 
True or False 1- One good feature about memory-memory instruction set.docx
True or False 1- One good feature about memory-memory instruction set.docxTrue or False 1- One good feature about memory-memory instruction set.docx
True or False 1- One good feature about memory-memory instruction set.docxrtodd63
 

Plus de rtodd63 (7)

Type your question here Does the table represent an exponential functi.docx
Type your question here Does the table represent an exponential functi.docxType your question here Does the table represent an exponential functi.docx
Type your question here Does the table represent an exponential functi.docx
 
ty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docx
ty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docxty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docx
ty ty +x +X SolutionLet- mass of each rod - m - M length of each rod -.docx
 
True-False (a) Ganymede is the only known satellite to have an intrins.docx
True-False (a) Ganymede is the only known satellite to have an intrins.docxTrue-False (a) Ganymede is the only known satellite to have an intrins.docx
True-False (a) Ganymede is the only known satellite to have an intrins.docx
 
True or false- If true or false state your reason- 2 lanes are subspa.docx
True or false- If true or false state your reason-  2 lanes are subspa.docxTrue or false- If true or false state your reason-  2 lanes are subspa.docx
True or false- If true or false state your reason- 2 lanes are subspa.docx
 
true or false The Doppler effect is a change in frequency due to the r.docx
true or false The Doppler effect is a change in frequency due to the r.docxtrue or false The Doppler effect is a change in frequency due to the r.docx
true or false The Doppler effect is a change in frequency due to the r.docx
 
tte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docx
tte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docxtte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docx
tte - -----rrof- tot i aoTA- South L has an anday ebretro chon Hrd dio.docx
 
True or False 1- One good feature about memory-memory instruction set.docx
True or False 1- One good feature about memory-memory instruction set.docxTrue or False 1- One good feature about memory-memory instruction set.docx
True or False 1- One good feature about memory-memory instruction set.docx
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 

Dernier (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

Unix exercises List minimal match filename for the following shell glo.docx

  • 1. Unix exercises List minimal match filename for the following shell globbing expressions ie smallest file name that the expression will match. (A minimal match is what is needed for the shell to yield filenames. Example: Minimal match for *.opl is .opl - you can verify minimal match by creating sample files and using echo with the regular expression.) AB.*? ..??.abc *.[ch] What is the difference in meaning of * and [A-Z]* in shell globbing. Solution * means it accepts filename that has capital letters as well assmall letters [A-Z]* means it aceept the file that has filename with capital letters but not small letters