- What is the problem with the following code? And how do we fix it?
#!/bin/bash var1 ="Welcome to bash scripting ..." echo $var1
- What is the result of the following code?
#!/bin/bash arr1=(Saturday Sunday Monday Tuesday Wednesday) echo ${arr1[3]}
- What is the problem with the following code? And how do we fix it?
#!/bin/bash files = 'ls -la' echo $files
- What is the value of the b and c variables in the following code?
#!/bin/bash a=15 b=20 c=a b=c