当我使用grep查找我需要的文本时,它将显示包含与给定模式匹配的行。# grep -r ".*Linux" *path1/output1.txt:Welcome to Linux.
path2/output2.txt:I hope you will have fun with Linux.如何在grep
如果我将cat命令保存到字符串中,然后执行它,那么我将得到一个错误。linux# cmd="cat /data/test/test.tx* | grep toto"cat: |: No such file or directorycat: grep: No such file or directory即使是
lin