friends this command brings me the number of records but also brings the name as I can do that only gives me the number of records without the name of the file
example errror
865 salida_xygo.txt
example good
865
friends this command brings me the number of records but also brings the name as I can do that only gives me the number of records without the name of the file
example errror
865 salida_xygo.txt
example good
865
wc -l < myFileName
Some variants of wc have leading blanks.
Therefore, in portable script I prefer grep -c ^ myFileName