Choose the command that Wally might use to extract the information from the file.

Wally has a file with data about various coffee plants, the data is stored in a file named plants, the
file is in the coffee directory of Wally’s home directory. He wants to find the number of entries that
are NOT the plant “Gallienii” or “gallienii”. Choose the command that Wally might use to extract
the information from the file.

Wally has a file with data about various coffee plants, the data is stored in a file named plants, the
file is in the coffee directory of Wally’s home directory. He wants to find the number of entries that
are NOT the plant “Gallienii” or “gallienii”. Choose the command that Wally might use to extract
the information from the file.

A.
grep -v Gallienii ./coffee/plants | wc -l

B.
grep -nv Gallienii ./coffee/plants| wc -l

C.
find ./coffee/plants ( !G* -o !g* ) | wc -l

D.
grep -ivn Gallienii ./coffee/plants| wc -l

E.
grep -vc Gallienii ./coffee/plants | wc -l

Explanation:



Leave a Reply 0

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