Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep exclude

Just filter your output with:
grep -v "excluded_pattern"
Example to get all not txt files in current directory.
ls | grep -v .txt
 
PREVIOUS NEXT
Tagged: #grep #exclude
ADD COMMENT
Topic
Name
7+5 =