determine current directory in bash