There were some random `bash` strings inside the code examples that are just confusing. Also we need to specify the board not only for emulation but for normal flashing too.