find . -name \* -type f -print | xargs grep "hostnames" .代表当前目录。hostname可以不带双引号。通常双引号都是用来扩搜索内容含有空格的情况。 Post Views: 936
留言