Regarding 'wc' (word count) command... I am trying to understand the following (from 'man wc' which I have quoted below) "With no FILE, or when FILE is -, read standard input."
How exactly does this work? At what point do I type the "standard input"?
Finding explanations online rather confusing. Maybe I am just missing some basic info regarding what exactly stdin is.
From 'man wc'
SYNOPSIS wc [OPTION]... [FILE]... wc [OPTION]... --files0-from=F
DESCRIPTION Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. A word is a non-zero-length sequence of characters delimited by white space.
With no FILE, or when FILE is -, read standard input.