How to browse files on your iPhone with Bash on Mac Book?
The easiest way is to install Homebrew first, and then use this command:

brew install ifuse


to install the "ifuse" program from libimobiledevice.

It will allow you to mount and access the contents of the iPhone on your Mac.

Look at the guide here for various options to ifuse that will allow you to mount various parts of the iPhone file systems (app containers, the media partition, the whole file system, etc.).