Friday, January 9, 2015

What does this mean: Error: No such file or directory – getcwd

When working in Puppet, I’d occasionally get this at the top of a slug of scary red text errors:


Error: No such file or directory – getcwd


Well, it really just means your current working directory doesn’t exist. Usually, I had just deleted some directory and I was in that path at the time.


“getcwd” means “Get Current Working Directory”.


Just like “pwd” mean “Print Working Directory”


Figured the internet could always use another bit of information on something a new Linux user may not have encountered [yet].





No comments:

Post a Comment