linux如何查找文件并打印文件内容
方法一:find . -name "file" -type f | xargs cat 方法二:cat `find . -name "file" -type f ` 方法三:find . -name "file" -type f -exec cat {} \;
·
方法一:
find . -name "file" -type f | xargs cat
方法二:
cat `find . -name "file" -type f `
方法三:
find . -name "file" -type f -exec cat {} \;
更多推荐
已为社区贡献1条内容
所有评论(0)