Question: Now use the find command from your home directory again to find the file type of all of the files below your home directory. (

Now use the find command from your home directory again to find the file type of all of the files below your home directory. (HINT: use the -exec option with file command). What command did you use:
_
In your home directory, create a new subdirectory called findtest. Now cd to the findtest subdirectory and then create a file in it called test1. Therefore, the only file in the findtest subdirectory should be test1. Run the following 2 find commands (note the second one is without double-quotes):
1.) find - name "*test ??=-ls
2.) find -name *test -Is
Do both of the sommands work?
_
Now create another file in the findtest directory called test 2 and run the 2 find commands above again. Which command (#1 or #2) generates an error?
_
Explain in detail why one of them generates an error, and the other does not. (HINT: Remember to use the set -x command to see how the shell interprets this command, in this case, the asterisk (*):
_
 Now use the find command from your home directory again to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!