Question: In Kali Linux - Write a script called argcnt.sh that tells how many arguments are supplied to the script. a. Modify your script to have
In Kali Linux - Write a script called argcnt.sh that tells how many arguments are supplied to the script.
a. Modify your script to have it also echo each argument, one per line.
b. Modify your script further to label each argument like this:
$ bash argcnt.sh this is a "real live" test
there are 5 arguments
arg1: this
arg2: is
arg3: a
arg4: real live
arg5: test $
5. Modify argcnt.sh so it lists only the even arguments.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
