CIS206_2.6_Search_Files_and_Directories_Corey_Adams

docx

School

ECPI University, Greensboro *

*We aren’t endorsed by this school

Course

206

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

3

Uploaded by corada5995

Report
Guided Practice Lab Report Before completing this guided practice report, you should have completed the associated procedure. Screenshots As you complete the procedure for the guided practice, add your screenshots below.
Guided Practice Questions After you have completed the procedure for the guided practice, provide your answers to the guided practice questions here. 1. What are the advantages and disadvantages of using locate over find? A locate command finds files faster because it searches a database instead of having to search the whole filesystem live. A dis-advantage is that the locate command cannot find any files added to the system since the previous time the database was created. 2. Other than the asterisk (*), what other wildcard characters are useful? Please provide examples. The (?) wildcard represents only one unknown character. This is useful when you have a list of similarly named files and unsure of a few characters. Ex: ls M?N.sh The ([ ]) wildcard – the 3rd bracket and not the 1st bracket – is used to match any occurrences of characters defined inside the brackets. This option is handy when dealing with uppercase and lowercase files. Ex: ls M[AEIOU]N.sh
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help