Recursive Function in Bash Scripting

# Introduction In this challenge, we will learn about recursive functions in bash scripting. We will create a function that will print each argument passed to the function using recursion. We will pass command-line arguments to the script, and the script will call the function with the same arguments. Regardless of how many arguments are passed, we will only echo the first positional argument using recursion.

|60 : 00

Click the virtual machine below to start practicing