How can I instruct grep to ignore the strings according to a pattern instead of matching them?
If for example I did:
ps -ef | grep tty the result would be obvious.
But how can I instruct it to return the lines that do not have the "tty" substring?
Regular expressions maybe?
How about an example?
Thanks.