Pipes are handy

Piping is a powerful concept that makes simple commands super useful. A pipe takes the output from one command and uses that as an input for the next one.


Kalle Tolonen
Dec. 7, 2023


In this case I had a task that required having a very large dataset sync from one service to another one.

To boost productivity I logged the individual cases that ended up in nullpointerexception while I did the necessary bug fixes for each case. So this is how you can read a log file in real time and query for instances of null in it.

tail -f yourfile.log |grep null

Comments

No published comments yet.

Add a comment

Your comment may be published.