Which option is used with find command for specifying the file type?

Hưng Thịnh

New member
Which option is used with find command for specifying the file type?
A. -perm
B. -inum
C. -name
D. -type
 
Answer: d
Explanation: The -type option followed by letter f, d, or l selects files of the ordinary, directory and symbolic link type. For example,
Code:
$ find .  -type d  -print        // display all the directory files in the current directory
 

Tìm kiếm

Back
Top