How to dump output of tcptrack into a text file? I have tried using grep and cut but the output screen of tcptrack is made with curses library and changes dynamically.
Edit the source code and remove the ncurses library and simply use printf instead of printw or simply write data to a file.