- What is the result of the following code: True or False?
if [ "LikeGeeks" \> "likegeeks" ] then echo "True" else echo "False" fi
- Which one of the following scripts is correct?
#!/bin/bash if ! [ "mokhtar" = "Mokhtar" ] then echo "Strings are not identical" else echo "Strings are identical" fi
Or
#!/bin/bash if [ "mokhtar" != "Mokhtar" ] then echo "Strings are not identical" else echo "Strings are identical" fi
- How many commands can be used as an operator to return True in the following example?
#!/bin/bash if [ 20 ?? 15 ] then echo "True" else echo "False" fi
- What is the result of the following code?
#!/bin/bash mydir=/home/mydir name="mokhtar" if [ -d $mydir ] || [ -n $name ]...