- Difficulty level: easy
- Time need to lean: 10 minutes or less
- Key points
- SoS works with Bash through either the bash kernel or the Calysto_bash kernel.
- SoS works with Zsh through the zsh-jupyter-kernel.
- The kernel interprets content of the cell as bash or zsh scripts
- Limited data exchange is supported because bash or zsh does not have a rich type system as Python
The Bash kernel is not rich in data types and everything is essentially a string. You can pass primitive datatypes from SoS to Bash but expect to get string representation of variables out of it.
In [1]:
In [2]:
In [3]:
In [4]:
In [5]:
In [6]:
Out[6]:
The usage of the zsh kernel is identical to bash.
In [7]:
In [8]:
In [9]:
In [10]:
In [11]:
In [12]:
Out[12]: