-ok option is used with find command for seeking information before taking the action specified.

-ok option is used with find command for seeking information before taking the action specified.
A. True
B. False
 
Answer: a
Explanation: find’s -ok option seeks confirmation before taking the action specified. This provides the user with a facility of giving confirmation before anything goes wrong. For example,
Code:
$ find  $HOME  -type  f  -atime +365  -ok rm {} \;
Above command will ask for the user confirmation before removing each selected file.
 

Tìm kiếm

Back
Top