How do I flush stdout in a `%%script bash` cell?

I thought this sounded like what you may be after; however, it is written for Windows. Note the chcp stuff.
However, I note in the original post of that thread that use of ! causes it to show instantly in Google Colab. But that was combined with Python and may not hold true for pure bash?

1 Like