Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts

Sunday, April 18, 2021

How to find a file in macOS Terminal using bash?

Cd into the directory. 

Example:
List down all the files with the name test.

 find . -type f -name "test*"

Additional tip

List down all the directories with the name test.

find . -type d -name "test*"