I would like to create an alias for the following. Would you please let me know how to set this up?
mate \`find . -name <filename>\`
I would like to create an alias for the following. Would you please let me know how to set this up?
mate \`find . -name <filename>\`
use a function instead: mymate() { mate $(find . -name "$1"); }
This is an indirect solution. Put the command in a file (whithout .sh say cmdfile) under ~/bin
then give the alias as alias myalias=cmdfile