如何使用命令替换创建unix别名? [英] How to create unix alias with command substitution?
本文介绍了如何使用命令替换创建unix别名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为以下内容创建别名.你能告诉我如何设置吗?
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>\`
推荐答案
改用函数: mymate() { mate $(find . -name "$1");}
这篇关于如何使用命令替换创建unix别名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文