Examveda

What is the output of this program?
#!/bin/bash
var1=10
$var1=20
echo $var1
exit 0

A. program will print 10

B. program will generate a warning message

C. program will print 20

D. program will print 10 & 20

Answer: Option D


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux