查找目录下文件的内容

# vim .bashrc

添加:
alias findstring='find . -type f -maxdepth 1 -name "*.*" | xargs grep '
使用方法:
# findstring "alias"

posted @ 2014-04-30 17:44  张绍建  阅读(201)  评论(0编辑  收藏  举报