Question: all about linux The while Loop excutes commands in command-list as long as expression evaluates to ? TRUE FALSE The case statement can list mutliple
all about linux
The while Loop excutes commands in "command-list" as long as "expression" evaluates to ?
TRUE FALSE
The "case" statement can list mutliple patterns via
* ? [] [:class:] | None of the above
The until Loop excutes commands in "command-list" as long as "expression" evaluates to ?
TRUE FALSE
Would this code run without any issues ?
#!/bin/bash Bonus=500 read -p "Enter Status: " Status read -p "Enter Shift: " Shift if [ "$Status" = "H" && "$Shift" = 3 ] then echo "shift $Shift gets \$$Bonus bonus" else echo "only hourly workers in" echo "shift 3 get a bonus" fi
Yes NO
According to this script when can the user retire ?
#!/bin/bash read -p "Enter years of work: " Years if [ ! $Years -lt 20 ]; then echo "You can retire now." else echo "You need 20+ years to retire" fi
Question 5 options: When the years of experience is less than 20 When the years of experience is less than or equal to 20 All of the above None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
