adplus-dvertising
frame-decoration

Question

What command is used to count the number of files in the current directory by using pipes?

a.

ls | ws - c

b.

ls | wc - w

c.

ls | wc - l

d.

ls | wc

Answer: (c).ls | wc - l

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What command is used to count the number of files in the current directory by using pipes?