📜  grep 排除文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:20.448000             🧑  作者: Mango

代码示例1
Just filter your output with:
grep -v "excluded_pattern"
Example to get all not txt files in current directory.
ls | grep -v .txt