I created a program to count the number of characters in a file, it compiles fine and is a really basic program. When I go to redirect a text file to the program I get an error. chrcnt is the compiled program and words is the text file. I use:
chrcnt < words
and I get the error
chrcnt: program not found
I am using ubuntu, any ideas as to why its not working?