I want to have a window open that is just the content of the file file.txt
. I do not care which command I use to open it, nano, cat, vi
or whatever. I want it to update every time it changes, so if I open it in another window, edit it and save it, the file in the original window will update, kind of like screen
. Any suggestions?
I have already tried just having it open a new cat file.txt
command every few seconds, but it is very unreliable.