Available commands
Written by
Updated at October 11, 2024
DataSphere Notebook allows you to use IPython magic commands. You can use them to measure program runtime, run bash commands in separate cells, identify variable types, etc. The majority of standard commands from the IPython documentation
Running bash commands
To run bash commands, put bash
explicitly at the beginning of the cell:
#!:bash
Restrictions
The following restrictions apply to using bash commands:
- Background jobs, such as
sshd
, are not supported. - Running
pip
is not supported; use the%pip
format instead.
Disabled regular commands
Regular commands that are not available in a notebook:
%%bash
%%perl
%%python
%%python2
%%python3
%%ruby
%%script
%%sh