LATEST UPDATE (ALREADY GRADED A+)
Which command is used in Bash to evaluate and compute the result of an arithmetic expression?
let
Which construct in Bash is used to create a menu for selecting options from a list?
select
What is the correct syntax for evaluating an arithmetic expression in Bash?
(( expression ))
In bash, if a=someletters_12345_moreletters.txtb=${a:12:5}
What would be your next statement to print the value of b
echo $b
What will be the output of this program?
#! /bin/bashglobal="pretty good variable"
checkvar()
{
local inside="not so good variable"
echo $inside
global="better variable"
echo $global
}
echo $global
checkvar
echo $global
checkvar
pretty good variable
not so good variable
better variable
better variable
not so good variable
better variable
In Bash, which command is used to send the "interrupt" signal to a running process?
kill -2
The output of this program#!/bin/bash string1="Hello" string2="World" echo "$string1.$string2"