Change default working directory in bash



How to change the default directory from workspace to whatever path I want.
Please help me with that. it is so time saving


Edit your .bashrc file and add cd /path/to/your/folder to it. Here’s a more detailed guide:

  1. Enable Show Home in Favorites
  2. Enable Show Hidden Files
  3. Open .bashrc
  4. Add cd /path/to/your/folder to the end of it (being sure to replace /path/to/your/folder with whatever directory you want)