Change the current directory to the given directory. The directory may be relative, or absolute (indicated by the path starting with '/').