Is your recovery img file actually named “recovery.img”? Or is it named something like “twrp-3.x.x_x.x.img”…? (If the name is cumbersome to type, you can just rename it to “twrp.img” or “recovery.img” if you want. Then issue the command.)
And is it located in the same directory of your computer where you are issuing the commands. Hint: You’re probably in the Home directory, so you need to put the recovery image in the Home directory.
My recovery.img file is named recovery.img
And I manage my directories quite easily ;o) I specified in my last post
“…I always do terminal commands from the right directory…”
So first things we have to checked like “is the cable connected ?” have been checked many times.