Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project 2 - 9 Wildcards are handy when you want to find or work on files that have a specific sequence of characters or when
Project
Wildcards are handy when you want to find or work on files that have a specific sequence of characters or when you are searching for a file and are not certain of the correct spelling of that file name. In this project, you will use the and wildcards with the ls command.
To work with wildcards:
To practice using wildcards, you first must create a set of files with similar names. In Chapter you used the cat command to create the notes file. Use the cat command now to create these five files:
firstnameA file containing your first name middlenameA file containing your middle name lastnameA file containing your last name fullnametxtA file containing your full name fullnametxtAnother file containing your full name
For example, type cat firstname, press Enter, type your first name, press Enter, and press Ctrld
Type ls name and press Enter. You see firstname, lastname, and middlename listed.
Type ls fullname?.txt and press Enter. You see fullnametxt listed.
Type ls txt and press Enter. Now, you see fullnametxt and fullnametxt
listed.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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