Andrew Linux > Workbook 5: The Linux Filesystem: Chapter Chapter 5: Locating Files with locate and find > Flashcards
How do the locate and find commands operate differently?
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
Using the locate command, give a command line that lists all .gif files on the system that have
fish in their name.
locate ls -l “*.gif