- How many comments are in the following code?
#!/bin/bash# Welcome to shell scripting# Author: Mokhtar
- If we have the following code:
#!/bin/bashecho $1echo $2echo $3
And we run the script with these options:
$ ./script1.sh -a -b50 -c
What is the result of running this code?
- Check the following code:
#!/bin/bashshiftecho $#
If we run it with these options:
$ ./script1.sh Mokhtar -n -a 35 -p
-
- What is the result?
- What is the dropped parameter?