Question: Question 2 The Blank 1 is missing in the following if statement ( type the syntax for the missing line to debug the script )

Question 2
The Blank 1 is missing in the following if statement (type the syntax for the missing line to debug the script)
[admin@localhost ~]$ cat -n scriptl
1 #!/bin/bash
2
3 var=2
4 if [ $var =="1"]
5 then
6 echo "one"
7
8 else
9
10 echo "two"
11
12
[admin@localhost ~]$
Question 2 The Blank 1 is missing in the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!