I\'m trying to write a small script to change the current directory to my project directory:
#!/bin/bash cd /home/tree/projects/java
I save
simply run:
cd /home/xxx/yyy && command_you_want