Fix: cd: string not in pwd


% cd ~/Library/Application Support/Sublime

cd: string not in pwd: /Users/c2ctechtv/Library/Application

You will get "string not in pwd" error when you try to make use of the cd - change directory command and the provided path is no value with respect to the present working directory - pwd.

cd string not in pwd error

Ways to fix this issue:

  1. Make sure that the path exists.
  2. Make sure you have provided an absolute path with the cd command.
  3. Double check for any spelling error or typo in the path name.
  4. If the path contains spaces, surround it with double quotes.
-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author: Rakesh
Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

Copyright © Code2care 2023 | Privacy Policy | About Us | Contact Us | Sitemap