This commit is contained in:
Marc Beninca 2018-05-13 00:28:35 +02:00
parent 7878ae5409
commit 1d4f8a74f7
9 changed files with 4 additions and 10 deletions

View file

@ -1,26 +0,0 @@
********
Snippets
********
Start a runnable script file
============================
.. code:: bash
#! /bin/bash
Find out current script
=======================
.. code:: bash
SCRIPT_FILE="$(realpath "${BASH_SOURCE[0]}")"
SCRIPT_DIRECTORY="$(dirname "${SCRIPT_FILE}")"
SCRIPT_NAME="$(basename "${SCRIPT_FILE}")"
Quit the interpreter
====================
.. code:: bash
exit