On Tue, 15 Nov 2016 21:48:30 +0000, Yassin Philip wrote: >On 15/11/16 21:40, Ralf Mardorf wrote: >> &> /dev/null is the same as >/dev/null 2>&1 , it redirects STDERR >> and STDOUT to /dev/null, IOW all output is invisible. >Ah, sorry, it works now, it's just that I was executing it in a ZSH >env. It needs to be a bash script. Thanks everyone, I got my transport >toggle now! It's disturbingly hacky, but it works :) Nothing of his script requires bashisms, use zsh compatible redirecting >/dev/null 2>&1 or don't redirect at all. For scripts like this I anyway would use dash, because it's lightweight and faster than bash. Regards, Ralf _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user