Hello in this election we are going to talk about W.C. command.
Firstly let's get empty file called article and edit it with some content
for example first line second line and other line and it and other line
now open terminal
and run WC command followed by name of newly created file called article.
We see some numbers about what they means.
Let's check Monroe
we see that it prints New Line Ward and white gowns for each file.
So that means that we should see for New Line as we have four lines and nine boards AP closed.
Meanwhile
output of W.C. colon gives us really four new lines nine words and five fifty three is the size of file
invites we can also use some parameters as for example you can use parameter out and barometer our brains.
The new line counts so tight WC with parameter our optical and output is when we run it the output is
for good also very often me is used WC command together with cat command which brings the content of
fire we after cat article use pipe symbol we are telling you that output of cat command should be moved
into another command which can be for example WC.
So if we push enter
we see number four that means file article has four lines.
Don't be afraid if you don't understand it now blue will cover piping lately in much more detail.
I just here wanted to mention another way of using WC command and that's by using pipe.