You can't scroll back in the log file more then the 10? Lines of context tail gives you. You can of course scroll back in your tmux history to see previous commands but you can't look further back in the log file then 10 lines before the moment you invoked tail.
Yes. I think the idea is if you're trying to figure out what's wrong you won't know before you start if you need more context.
I'll admit I go with tail -f initially, but less with S to chop long lines and F to go to the end and follow is what I do of that doesn't immediately clarify things.
Tail wins if you want to open 2 files. The way less handles multiple files is sequential: you can't see them both at the same time.
I just don't think you can usually predict when you'll need more context. And when you find you need more context in this one particular file, you should probably switch to less.
29
u/allcentury Mar 30 '15
Tail -f within a tmux pane allows me to search just fine