query: Double-click bash file -> pwd outputs my home directory instead of the current directory
positive_passages.docid: 385
positive_passages.text: Wrong working directory, if bash script is opened via double-click
negative_passages.docid: 130208
negative_passages.text: How do I change $PATH and set it to the default directory?
negative_passages.docid: 132222
negative_passages.text: Why does /bin/sh behave differently to /bin/bash even if one points to the other?
negative_passages.docid: 119405
negative_passages.text: How to change the working directory of invoking shell using a script?
negative_passages.docid: 104595
negative_passages.text: Why isn't tilde recognised as home folder in this case?
negative_passages.docid: 139904
negative_passages.text: pwd without symlinks
negative_passages.docid: 68778
negative_passages.text: Isn't $HOME supposed to be the location of the user's home directory?
negative_passages.docid: 74213
negative_passages.text: "Input/output error" when accessing a directory
negative_passages.docid: 116624
negative_passages.text: How to make `cd dir/filename` take me to dir/?
negative_passages.docid: 29743
negative_passages.text: Move file to another user's home directory (without sudo)?
negative_passages.docid: 135850
negative_passages.text: Opening current directory from a terminal onto a file browser?
negative_passages.docid: 30420
negative_passages.text: How can I get the current working directory?
negative_passages.docid: 155449
negative_passages.text: How can I redirect the "bin" and "obj" directories to a different location?
negative_passages.docid: 4162
negative_passages.text: How can I get the source directory of a Bash script from within the script itself?
negative_passages.docid: 15978
negative_passages.text: Why can't I change directories using "cd" in a script?
negative_passages.docid: 115446
negative_passages.text: Trying to add a directory with various scripts to my PATH, but it is not running the script when called from outside the directory
negative_passages.docid: 126027
negative_passages.text: Run bash script at login stored in the home folder?