Write a Unix command to display the lines in a file that do not contain the word “RAM”?

grep -v RAM filename
The ‘-v’ option tells the grep to print the lines that do not contain the specified pattern.

Be the first to comment

Leave a Reply

Your email address will not be published.


*