Which of the following commands will find the string foo in file1.txt, regardless of foo being in upper or lowercase letters?

Which of the following commands will find the string foo in file1.txt, regardless of foo being in upper or lowercase letters?

Which of the following commands will find the string foo in file1.txt, regardless of foo being in upper or lowercase letters?

A.
cat file1.txt | grep -i foo

B.
cat file1.txt > grep -n foo

C.
grep -i foo | file1.txt

D.
grep -n file1.txt < foo

E.
grep -n foo file1.txt

Explanation:
grep option -i tells grep to work case insensitive.



Leave a Reply 6

Your email address will not be published. Required fields are marked *


schildersbedrijf tilburg

schildersbedrijf tilburg

Hі my friend! I wаnmt tο say that this post is
amazing, nice ωritten and come with almost all vіtal infos.

I would like to look more posts like this .

rijbewijs in 10 dagen

rijbewijs in 10 dagen

If some one wants expert view about blogging and site-building after that
i advise him/her to go to see this webpage, Keep up the fastidious job.

services for YouTube video ranking

services for YouTube video ranking

Great blog you’ve got here.. It’s hard to find high-quality writing
like yours these days. I truly appreciate people like you!
Take care!!

business Bookkeeping service

business Bookkeeping service

An impressive share! I have just forwarded this onto a co-worker who
was doing a little research on this. And he actually bought me lunch simply because I stumbled upon it for
him… lol. So let me reword this…. Thanks for the meal!!
But yeah, thanks for spending the time to talk about this topic here on your web page.

Bertha

Bertha

The Leimo Personal Hair Laser Starter Kit promotes hair regrowth in three (3) steps:
. Auspiciously, there are no identified risks related with
low-level laser treatment. Hair – Max Comb is more than just like
any other comb, but is very easy to use and can enhance natural hair growth when you used on a
regular basis.

Madeleine

Madeleine

What’s up to every one, it’s really a pleasant for me to visit this web
site, it consists of important Information.