@WinEunuuchs2Unix Regarding
that post, I fear my comment may not have been clear. It's the
newer versions of Ubuntu on which the command in your answer doesn't work as written, not the older ones. I tested this on 16.04 and 18.04, both of which are fully supported releases, and the version with
-d
and without quotes in the here string
did not work on 18.04.