Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Identify the Mistake
a=0 b=0 IF [$a -eq $b] then echo a is equal to b else echo " a is not equal to b" fi
a) Variables should be assigned on individual rows not next next
b) in if statement there should be space after "[" and before "]"
c) first echo statement should be enclosed within ""
d) IF and FI should be in lower case
Related Answered Questions
Related Open Questions