Getcwd cannot access parent directories

Ever got the following error?

error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

You are getting this error because your current directory doesn’t exist anymore. Go to an existing directory and you won’t see the error again.

Just do a “cd”

cd

That will do it!

 

2 COMMENTS

  1. I’ve been surfing online more than three hours as of late, yet I by no means discovered any fascinating article like yours. It is pretty worth enough for me. Personally, if all website owners and bloggers made good content material as you did, the internet will likely be much more useful than ever before.

LEAVE A REPLY

Please enter your comment!
Please enter your name here