Workbook 5: The Linux Filesystem: Chapter Chapter 5: Locating Files with locate and find Flashcards
1
Q
How do the locate and find commands operate differently?
A
The locate command uses a database to quickly locate files on the system by filename
The find command performs a real time, recursive search of the filesystem
2
Q
Using the locate command, give a command line that lists all .gif files on the system that have
fish in their name.
A
locate ls -l “*.gif