fabianmoronzirfas
3/22/2014 - 1:22 PM

get-bash-script-directory.sh

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $DIR