The code below seems to work and outputs '8 is greater than 5'. However, what unexpected result will tell you it is not functioning properly?'''bash#!/bin/bashvar='8'if [ $var > 5 ]; then echo '$var is greater than 5'fi

🎲 Try a Random Question  |  Total Questions in Quiz: 70  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Bash Quiz — practice the complete quiz, review flashcards, or try a random question.

MCQs For LinkedIn Skill Assessments. Bash is a Unix shell and command language.


The code below seems to work and outputs '8 is greater than 5'. However, what unexpected result will tell you it is not functioning properly?<br>'''bash<br>#!/bin/bash<br>var='8'<br>if [ $var > 5 ]; then<br> echo '$var is greater than 5'<br>fi<br>