Mittwoch, 19. April 2017
Getting the source directory of a Bash script from within
#!/bin/bash

scriptdir=`dirname $(readlink -f $0)`

echo "scriptdir = ${scriptdir}"

... comment