bash,c,python3,code

This commit is contained in:
Marc Beninca 2019-08-25 10:30:28 +02:00
parent 4efabace5e
commit 0a19a68dbe
9 changed files with 6 additions and 15 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