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 Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

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