{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "# Bash example\n", "\n", "\n", "This example notebook uses a Bash kernel.\n" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# A basic hello, world in Bash\n", "\n", "function hello {\n", " echo hello, world\n", "}" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "hello, world\n" ] } ], "source": [ "hello" ] } ], "metadata": { "kernelspec": { "display_name": "Bash", "language": "bash", "name": "bash" }, "language_info": { "codemirror_mode": "shell", "file_extension": ".sh", "mimetype": "text/x-sh", "name": "bash" }, "thumbnail_figure": "images/bash.png" }, "nbformat": 4, "nbformat_minor": 2 }