What does the following command accomplish?
find /tmp -type f -mmin -60
Linux Find Command Quiz
Quiz
•
Computers
•
12th Grade
•
Medium
Pushpendra Pateriya
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following command accomplish?
find /tmp -type f -mmin -60
It finds files in the /tmp directory that have been modified in the last 30 minutes
It finds files in the /tmp directory that have been modified in the last 60 days.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the -mindepth option do in the following command? find /var -mindepth 2 -name "*.log"
Starts searching from the root directory.
Limits the search to files with a minimum size of 2MB.
Ensures the search includes files starting from a depth of 2 directories.
Limits the search to files with a minimum depth of 2 subdirectories.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you find all files modified exactly 7 days ago?
find . -mtime 7
find . -mtime -7
find . -mtime +7
find . -mtime =7
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you find all directories in the current directory that are writable by the user?
find . -type d -perm -u=w
find . -type d -perm /u=w
find . -type d -perm +u=w
find . -type d -perm =u=w
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command would list all files and directories in the /home/user directory except those named *.tmp?
find /home/user -name "*.tmp"
find /home/user ! -name "*.tmp"
find /home/user -not -name "*.tmp"
Both B and C
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command finds files in the /var/log directory that belong to the group admin?
find /var/log -group admin
find /var/log -user admin
find /var/log -group id admin
find /var/log -gid admin
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will find all files in the /home directory that are owned by the user alice and have been modified in the last 2 days?
find /home -user alice -mtime -2
find /home -user alice -mtime 2
find /home -user alice -mtime +2
find /home -user alice -mtime 2d
20 questions
Linux Directory Structures
Quiz
•
10th Grade - University
16 questions
Linux Chapter 7 Review
Quiz
•
9th - 12th Grade
10 questions
linux user and group dfn30053
Quiz
•
1st Grade - University
12 questions
Linux File System Quiz
Quiz
•
12th Grade
20 questions
POCS-Ch. 4 Review (Comprehension)
Quiz
•
7th - 12th Grade
20 questions
U01 - Command Line & Binary/Decimal Test
Quiz
•
9th - 12th Grade
20 questions
POCS-Ch4.1 & 4.2 (Vocab)
Quiz
•
8th - 12th Grade
10 questions
OS ICE BREAKING
Quiz
•
KG - University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University