I am using ubuntu bash. I am trying to combine tail -f and less +F like below and nothing is coming out.
tail -f long_running_log | less +F
long_running_log is a log file constantly being written by another process. The following line will show a ton of stuff on the console: tail -f long_running_log But once I combine it with less +F with a pipe, nothing comes out.
In case you wonder why I am doing this, it is because I want to filter out the results of tail along the way. The real command looks like this: tail -f long_running_log | filter1 | filter2 | less +F
For debugging purposes, I removed filter1 and filter2 in the middle and still have problems.