Jupyter python error in the redux file, part 1

%mkdir -p sample/train gives error “The syntax of the command is incorrect.” in jupyter python
Can anybody help?

Are you on Windows?

If so you need to change the command to the equivalent command on the Windows command prompt. Also note that the arguments are different as well.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Step_by_Step_Guide/ap-doslinux.html