Bash Scripting - Functions
You want a bash function
swap that prints its two arguments in reverse order. Which function definition achieves this?swap that prints its two arguments in reverse order. Which function definition achieves this?$2 $1 prints arguments in reverse order. Other options print original order or wrong variables.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions