How to run shell commands in Jupyter Notebook - Windows 10

Hello, I have recently started with Deep Learning course. Executing commands on Google Colab is slow owing to my poor network. However, my machine is powerful and therefore wish to execute all programs in my system itself. I am trying to execute the shell script in Jupyter notebook. I tried using ‘!’ mark at the beginning of code but it shows error as follows :
‘ls’ is not recognized as an internal or external command, operable program or batch file.
I researched on it, turns out, it works on Mac but not on Windows, I am using Windows 10 OS. Can someone please help about running shell script on system.

Ok, I got the solution. In windows, we have to start shell command with ‘%’ unlike ‘!’ as in Mac

2 Likes