
Practical Linux Command Line 2.0 - Find a Specific File by Name (find)
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary function of the 'find' command in Linux?
To delete files
To list all files in a directory, including hidden ones
To display the current directory path
To change file permissions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you use the 'find' command to search for files that start with 'my'?
find . -name 'my'
find . -name '*my'
find . -name '*my*'
find . -name 'my*'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option allows you to limit the search depth of the 'find' command?
-depth
-level
-maxdepth
-mindepth
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'maxdepth 1' option do when used with the 'find' command?
Searches files modified in the last day
Searches only the current directory
Searches only hidden files
Searches all directories recursively
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you combine 'maxdepth' and 'name' options in the 'find' command?
find . -depth 2 -name 'my*'
find . -name 'my*' -level 2
find . -name 'my*' -depth 2
find . -maxdepth 2 -name 'my*'
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?