linux - After I deleted a directory, it always prompts "shell-init error retrieving current directory getcwd solve" when log on bash -
i know changing existing directory may solve problem. thing deleted was not home directory. deleted directory /home/desktop/zeno, created root, , $home variable /home/zeno. took @ ~/.bashrc, ~/.profile , /etc/profile, found no commands asking initialize bash @ /home/desktop/zeno. should examined next? appreciated.
when opening new shell or xterm, it's started in working directory of process started it.
if e.g. cd /proc && xterm, new terminal place in /proc.
whatever's starting terminal had positioned in /home/desktop/zeno, , terminals trying start there. if make process change directory (by rebooting, example), terminals start in directory exists , no longer error.
Comments
Post a Comment