i want to Redirect the output from a program to a file in Linux console. I found the soultion to use the ">" command . But it doesn`t work for me. I need the output during the runtime of the program not at the end of the runtime. Because the program streams the Progress (Percent) to stdout. I have no possibility to install new Tools to the Linux System.
The program does a update function:
**The expected Output is: ( The Perecent is moving during the program ((from 0 -100 %) )
# erase
# load file XXX
# 100%
# erase
# load file XXX
# 100%
only 100 Percent Information at the end of the program is recorded. Not while the program is running. For me its important to get the percent information while the program is runing and at the end. I want to visualize the Percent in a detached GUI.