I am not able to find the flag numbers in the command prompt after running the nmap
Have you figured it out yet? I did not have any trouble accessing those flags. They may have some kind of prompt inside challenge box, I completed it so was not able to reopen.
I had to restart one of the systems when I was doing this lab because it continued to come up as a non-linux system. Once I restarted it I was able to find the flags I needed. I don't know if this was the problem you were having or not.
Restarting actually helped fix the problem.