

MCQOPTIONS
Saved Bookmarks
This section includes 20 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
1. |
-ok option is used with find command for seeking information before taking the action specified. |
A. | True |
B. | False |
Answer» B. False | |
2. |
Which of the following operator is used with find command for performing the negate function? |
A. | -a |
B. | -o |
C. | && |
D. | ! |
Answer» E. | |
3. |
Which of the following command will be used to locate those files that have not been modified for more than a year? |
A. | find . -mtime 1 |
B. | find . -mtime 1 year -print |
C. | find . -mtime +365 -print |
D. | find . -mtime -365 -print |
Answer» D. find . -mtime -365 -print | |
4. |
Which option is used to find command to search for files based on access time? |
A. | -atime |
B. | -mtime |
C. | -time |
D. | -type |
Answer» B. -mtime | |
5. |
To specify permissions while using find command we have to use _____ option. |
A. | -perm |
B. | -inum |
C. | -name |
D. | -type |
Answer» B. -inum | |
6. |
What will be the output of the following command? |
A. | all files having filename as a.out |
B. | all files in the root directory |
C. | undefined output |
D. | erroneousView Answer |
Answer» B. all files in the root directory | |
7. |
WHICH_OPTION_IS_USED_TO_FIND_COMMAND_TO_SEARCH_FOR_FILES_BASED_ON_ACCESS_TIME??$ |
A. | -atime |
B. | -mtime |
C. | -time |
D. | -type |
Answer» D. -type | |
8. |
Which of the following operator is used with find command for performing the negate function?$ |
A. | -a |
B. | -o |
C. | && |
D. | ! |
Answer» E. | |
9. |
Which of the following command will be used to locate those files that have not been modified for more than a year?$ |
A. | find . -mtime 1 |
B. | find . -mtime 1 year -print |
C. | find . -mtime +365 -print |
D. | find . -mtime -365 -print |
Answer» E. | |
10. |
Which of the following option is used with find command for taking action on selected files? |
A. | -exec |
B. | -atime |
C. | -mtime |
D. | -a |
Answer» B. -atime | |
11. |
-o operator represents the OR condition. |
A. | True |
B. | False |
Answer» B. False | |
12. |
Which operator is used to specify the AND condition in find command? |
A. | ! |
B. | && |
C. | -A |
D. | -a |
Answer» B. && | |
13. |
To specify permissions while using find command we have to use _____ option? |
A. | -perm |
B. | -inum |
C. | -name |
D. | -type |
Answer» B. -inum | |
14. |
Which option is used with find command for specifying the file type? |
A. | -perm |
B. | -inum |
C. | -name |
D. | -type |
Answer» B. -inum | |
15. |
Which one of the following option is used for locating the files by inode number? |
A. | -name |
B. | -inum |
C. | -inode |
D. | -ind |
Answer» E. | |
16. |
We can use relative pathname in the path list while using find command. |
A. | True |
B. | False |
Answer» C. | |
17. |
out |
A. | all files in the root directory |
B. | undefined output |
C. | erroneous |
Answer» B. undefined output | |
18. |
Which symbol is used with find command for specifying arguments? |
A. | + |
B. | – |
C. | + and – |
D. | | |
Answer» D. | | |
19. |
The syntax of the find command is ____________ |
A. | find path_list selection_criteria action |
B. | find action path_list selection_criteria |
C. | find selection_criteria action path |
D. | find path action |
Answer» B. find action path_list selection_criteria | |
20. |
Which command is used for locating files? |
A. | search |
B. | find |
C. | loc |
D. | type |
Answer» C. loc | |