I would like to create an alias for the following. Would you please let me know how to set this up?
mate \\`find . -name \\`
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
~/bin
alias myalias=cmdfile
use a function instead: mymate() { mate $(find . -name "$1"); }
mymate() { mate $(find . -name "$1"); }