Correct Answer: Var=$(echo 'scale=2; 10 / 8' | bc)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Bash Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Bash MCQ Questions
What is the result of this script? txt=Penguins [[ $txt =~ [a-z]{8} ]]; echo $?
How would you change your Bash shell prompt to the following? HAL>
What is the output of this code? VAR="/var/www/html/website.com/html/"; echo "${VAR#*/html}"
If prompted for text at the standard input, you can tell the command you're done entering text with what key combination?
In order for a Bash script to be executed like an OS command, it should start with a shebang line. What does this look like?
Which sed options should you use to change the second-to-last instance of variable to rock so it would read: A constant is a variable that is a rock that isn't variable var="A constant is a variable that is a variable that isn't variable" echo "$var" | sed _____
Which does the below command do? w
Which one is true?
What statement would you use to print this in the console? Shall we play a game? yes\no
What is the output of this code? VAR="This old man came rolling" echo "${VAR//man/rolling}"