[GTALUG] Command doesn't work in script but works on command line?

Jim Ruxton jim.ruxton at gmail.com
Sat Nov 6 08:25:49 EDT 2021


Hello,

I'm having trouble with a simple script. It adds a second sounccard. 
This command works on the command line but not in a script. Any ideas why?

The command line is:

alsa_out -j secondInterface -d hw:3 -c 6


or in a script :

#!/bin/bash
alsa_out -j secondInterface -d hw:3 -c 6

I have also tried the shebang #!/bin/sh  with the same result. alsa_out 
is in /usr/bin . I'm on Ubuntu 20.04.

Thanks for any advice here.

Jim




More information about the talk mailing list