Find file by name in Linux, macOS in command line

To find a file by name in Linux (Ubuntu, Centos) or macOS in command line use the following command

find /home/username/ -name "*.inc"
Share
2019   command line   find   linux   mac os