How to open uiautomator(monitor) in mac

Hey, I’m new to android emulator and using android studios 3.2.7 on MacBook pro with OS Mojave
And i need to work on a project test case by opening monitor.bash (which is also called as UIautomator in earlier versions
(Android/sdk/tools/monitor/) and that monitor file which has to give me id of elements for my code to work but that file itself is not opening and it shows as a exec file and how to open it for ids now how to open it?

check in Android/sdk/tools/bin

Sorry but I’m not able find any bin in that tools