156k views
3 votes
​what two commands below can be used to locate files on a filesystem?

User Danie A
by
5.4k points

1 Answer

4 votes

Two command that are used in Linux operating system to locate files on a filesystem are locate and find.

# find / -name data.txt

The find command has a number of options. This makes the find command very configurable

# locate data.txt

The locate command uses a previously built database.


User Naji
by
5.8k points