You can run shell commands in Jupyter console. Just prefix your shell commands with an exclamation point(!
). Running !ls
in Jupyter will show the contents of the current directory.
This can be useful when you want to quickly inspect a file or check on the contents of a folder.
Instructions
- Open the Jupyter console by typing
ipython
. - Check the contents of the current directory with
!ls
. - Exit Jupyter console by typing
exit