If anybody else needs simple #VoiceActivatedRecording in GNU/ #Linux and does not want to run GUI (e.g. #audacity, which works good for that) for any reason, here is an explanation how to do it in the command line via #SoX .
https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/
Found here: https://stackoverflow.com/questions/41273701/stripping-silence-with-sox
On #RaspberryPi OS #Trixie, one would be better to install libsox-fmt-all immediately with the sox itself: