Mac Terminal 32bit Displacment Map Maya

Hi im importing a displacement map from zbrush as a 32bit tiff file which i know to do this you need to make changes to the file name which is done in a command window the command changes the file from a tiff to a map im ok at this on a pc and the command goes

Imf_copy -p origionalfile.tif newfilename.map

this makes the changes to the file and optimizes it for mental ray without doing this mental ray cant produce a 32bit map this command is followed by

imf_info.exe

this brings up the details of the file so it can be checked im ok with this on a pc where i get stuck is using a mac i know the command is entered in the terminal but am completely dunce when it comes to what the command is on mac to do this please any help here will be much appreciated as im commpletely stummped

its the same… but the folder where the executable is may or may not me part of your shells path.