grep - escaping for special characters

To escape special character, we just add a \ (backslash) before it. Instead of:

grep '.' /etc/login.defs
use:
grep '\.' /etc/login.defs