alias is probably the best option in order to save key strokes.
to make an alias
suppose I want to open htdocs folder which is in /Application/MAMP/htdocs/ , but for that i have to type few lines in terminal. But by making an alias it can be done with only one small word. To do so, just type this line in the terminal.
alias ht='open /Applications/MAMP/htdocs/'
to see the alias
to remove all aliases
to remove a specific one
unalias [name of the alias]