1. The following grep command will search the f.txt file for lines start with either upper- or lower-case character w and end with a dot character.

a) Grep ‘^[wW]*.$’ f.txt
b) Grep ‘^[wW].*\.$’ f.txt
c) Grep -I’^w*\.$’ f.txt
d) Grep ‘^[wW].*\.’ F.txt
e) Grep ‘[wW].*\.$’ f.txt

d) Grep ‘^[wW].*\.’ F.txt