I have an executable that I am running on the Raspberry Pi. When the program is run, output is displayed on the terminal, but when I use the redirect operator
>, I get nothing in the text file.
./example > examp.txt
I have also tried using the pipe operator and the
tee command but when I do this I get nothing in the text file or on the screen. I am unsure what to try next. The output from the executable is a data stream that is updated every few seconds. I would like to capture a couple updates from the executable in a text file.
./example | tee examp.txt