Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 (*):
_
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions

Question

Determine miller indices of plane X z 2/3 90% a/3

Answered: 1 week ago