bash script to cd to a path
If you need to login to a server and frequently switch to a path, you might want to create a shell script to switch .
eg.
#!/bin/bash<br></br>
cd /path/to/where/you/want/to/go```
Now the trick is you need to run the shell script as :
. ./script.sh```