Using grep to display line that doesnot start with a pattern

If you want to display a line, that does not begin with a pattern you can use grep to achieve that. It is specially useful when you want to view the lines that are not commented in a configuration file.

grep -v “^;” ( This will display lines that dont start with 😉
grep -v “^#” (This will display lines that dont begin with #)

Thanks
Amit