jupyter notebook magic command to run commands in terminal code example Example: shell command in jupyter notebook # use ! + command example: !pwd