script_path=$(readlink -f "${BASH_SOURCE[0]}") echo "Absolute path of the current script: $script_path"