If you're new to redirects (<, <<, <<<, > etc) it should be noted that some respect should be given to the fact that they can be destructive if a typo is made. For instance
joe@debian:~$ wc -l <important_data.txt # correct usage provides desired line count
228
joe@debian:~$ wc -l >important_data.txt # command hangs
^C # until terminated
joe@debian:~$ wc -l <important_data.txt # file has been blanked
0
joe@debian:~$ cat important_data.txt
joe@debian:~$ #
cat'ing the file and piping it through wc is a safe, non-destructive alternative;
joe@debian:~$ cat important_data.txt | wc -l
228