UNIX shell scripting

Hi Guys,

I suppose I have a file with these values 1 2 3 4 5 6 and I want to count how many values do I have.

I know is I had the values in lines I will use wc -l

How can I do that ?

Thanks in advance...

man wc ?

1 Like

Thanks a lot