The purpose of this document is to show how to change to the current working directory.
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "${dir}"
[Edit]