The exclamation mark (!) before a statement in Jupyter notebook is used to run shell commands from the underlying operating system.