locate file on ubuntu code example Example 1: ubuntu find file $ find /path/to/file/ -iname filename Example 2: search file in ubuntu $ find /path/to/file/