Those are linux commands. You can unzip the image with 7-zip (or whatever you prefer). The "sudo ./" is a linux thing. Just do "fastboot flash diags mmcblk0p2.img".
Instead of the linux "ssh", use putty. Instead of "scp", use winscp.
Do them from a command prompt.