Find and Locate commands Flashcards
1
Q
When you want to use locate command, what is nessesary to do in order locate command runs correct?
A
updatedb
2
Q
What is the difference between locate and find commands?
A
locate simply looks its database and reports the file location. find does not use a database, it traverses all the directories and their sub directories and looks for files matching the given criterion.
3
Q
main option that you have to use with find command, give syntax
A
find / -iname ‘file*’ -type f
hey, find in the system file, case sensitive off, file name begins from file and I dont remember what’s in the end