title: How can I set the current working directory to the directory of the script in Bash?
body: <p>I'm writing a Bash script. I need the current working directory to always be the directory that the script is located in.</p>
  <p>The default behavior is that the current working directory in the script is that of the shell from which I run it, but I do not want this behavior.</p>