👩💻 Join our community of thousands of amazing developers!
tail, unbuffer and trap are 3 things which are useful together. tail usually stops reading if it receives SIGINT, which is created by pressing C-c. C-c is useful to be pressed inside less to prevent it from reading so you can navigate what has entered so far. unbuffer -p disables output buffering for grep. You can also use sed -u instead of grep but then you have to consider escaping....