When writing shell scripts and using a case statement to determine whether a set of code should be executed, what is the proper syntax to end the case construct?

1800 Testing 4 Practice

Quiz
•
Computers
•
University
•
Hard
James Tafoya
Used 2+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
endcase
esac
case
done
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Using the syntax below, what command will create directories named one, two, and three? echo one two three | ________
uniq
tr
where
xargs
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will take output from a command and append it to the end of a file?
>
<<
>
>>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will display the exit status of the last command used in the BASH shell?
echo $status
echo $exit
echo $?
echo $!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following characters can be entered at the beginning of a line in a shell script to ensure that line is recognized as a comment line only?
$
>
%
#
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the common escape sequence to display a horizontal tab using the echo command?
tab
\tab
\t
\%tab
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following can be used for comparing values within an if statement? (Choose two.)
-lt
-neq
=
-grt
Create a free account and access millions of resources
Similar Resources on Quizizz
29 questions
11) 210.2 PAM authentication

Quiz
•
University
30 questions
Keamanan Jaringan Kelas XI

Quiz
•
10th Grade - University
25 questions
Git Set Go Set 2

Quiz
•
University
25 questions
Git and Revision Control Systems Quiz

Quiz
•
University
33 questions
Service Management Linux 9

Quiz
•
University
27 questions
ADVANCE JAVA PROGRAMMING

Quiz
•
University
27 questions
EE08 - vol 2

Quiz
•
University
25 questions
¿Sabes más que un estudiante de avanzada? 2023-1

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade