KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The following grep expression successfully lists all the .exe and .html files in the current directory and sub directories. ls -R |grep -E .*[\.exe]$\|.*[\.html]$ How do I invert this result to list those that aren't a .html or .exe instead. (That is, != .)
Tags (comma-separated)
Save Edits
Cancel