Bash on Ubuntu on Windows, Mingw and [Cygwin] ](Https://ja.wikipedia.org/wiki/Cygwin) and Git can be installed to use some Linux commands on Windows. It will be like.
It seems that shell commands can be easily used from Jupyter. For example, if you have Git installed, you will see something like this:
jupyter_notebook
%%bash
ls /
>>>
ReleaseNotes.html
bin
cmd
dev
etc
git-bash.exe
git-cmd.exe
mingw64
proc
tmp
unins000.dat
unins000.exe
usr
The commands that can be used were in "C: \ Program Files \ Git \ usr \ bin" and so on.
It may be useful when you want to use grep, sed, xargs, etc. while writing Python.
that's all
Recommended Posts