I have a couple of programs that I start using the terminal. But everytime when I open the terminal, I had to kind of cd into the directory where the shell script resides and then start it. Is there a shortcut command that I can use which would cd into the directory and start the program for me? I guess I have to write my own shell script for this or is there any Linux command that can do this for me?
Bear Bibeault wrote:Why cd at all? Just type the full path to the shell script. Or put its folder on the PATH.
That typing is what I want to avoid and make it elegant by having a couple of shell scrips that would do that for me. What I would like to know is if there is a Linux command that I can create for such shortcuts?