User Tools

Site Tools


docu:csheet:sysadm:script:bash:get_script_path

This is an old revision of the document!


Get directory of the executed script in bash


Simple, straight forward:

cd "$( cd "$(dirname "$0")" >/dev/null 2>&1; pwd -P )"
docu/csheet/sysadm/script/bash/get_script_path.1600263443.txt.gz · Last modified: 2020/09/16 13:37 by admin