not operator with grep
I want to display all lines from /etc/passwd file that does
not start with z.
How can I construct such a statement using grep.
grep -e ^z /etc/passwd
This command will display all lines starting with z.If
I add a not operator , my work will be done.
But I am not getting which null operator to use...
Please suggest me the correct grep command . With thanks in Advance.