[转] linux alias 编写 函数 脚本

[From] https://blog.csdn.net/csdnmonkey/article/details/53286314

 

案例

alias ttt='ttt(){ echo $1 ; };ttt'

 

ttt hi 输出 
hi

 

posted @ 2018-11-06 11:08  Pekkle  阅读(478)  评论(0编辑  收藏  举报