Bash Scripting - Conditionals
What will be the output of this script?
#!/bin/bash x=5 if [ $x -gt 3 ]; then echo "Greater" else echo "Smaller" fi
#!/bin/bash x=5 if [ $x -gt 3 ]; then echo "Greater" else echo "Smaller" fi
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions