function suma() { echo $1+$2+$3 | bc; } suma 1 2 3
Ejercicios de Bash: crear una función que realice una suma en Linux (Bash)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.