I have a Big problem and I don't know how can I solve this.
#!/bin/bash
function prueba(){
valor=$1
echo "Hola ${valor}"
}
prueba $valor
so, when i write in the console:
./beta1.sh prueba 123
print:
Hola
I expected to see:
Hola 123