[Linux] Fix error: "Linux - shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory"
This usually occurs when your current directory does not exist anymore. To fix you only change to available directory. Example $ cd ~/