ok to count the number of lines in a text file I have to
wc -l filename.txt rite? but then how do i get it to out put this as an integer?
it out puts
linecount filename.txt
so lets say file.txt has 30 lines it out puts
30 file.txt how do i get it to out put only 30
thx