4 ms·
If someone knows how to tail -f and then clear the screen when using X11's xterm, that would be most helpful.
by _nato_ 14y ago
If someone knows how to tail -f and then clear the screen when using X11's xterm, that would be most helpful.
- pronoiac 14y agoI clear the screen with control + lowercase L, if I understand your question correctly.
- metatation 14y agoConsider following files with less.
- _nato_ 14y agoLess' F command is fantastic. Great lead! I didn't find anything in the man pages for less to somehow 'clear' the screen while tailing. Here is my pickle: I use xmonad under Mac OS X and it in turn uses xterm. CTRL^L does not clear the screen (helpful for a dev I have to say) -- maybe some key binding limitations there; not sure. Is there a way with less to do so when emulating tail -f ?
- niggler 14y agoIt sounds like you might like to use tail in conjunction with `watch`
- ralph 14y agoMight you re-phrase the question? tail -f won't stop so when do you want the screen to clear?