Multiple choice technology operating systems

What is the maximum number of Parameters that can be passed to the shell script so that your script can read those parameters for processing ?

  1. 3 parameters and it can be accessed using the variable $3
  2. 9 parameters and it can be accessed using the variable &9

  3. Any number of parameters ( no limit ) and these parameters can be accessed using 'shift' in the script

  4. Any number of parameters ( no limit ) and these parameters can be accessed using 'Case' Statements in the script

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Shell scripts can accept any number of parameters with no fixed limit. The 'shift' command is specifically designed to process positional parameters sequentially, making it the correct method for handling unlimited arguments.