Shell Scripting Skills Quiz
Complete this shell scripting quiz by answering the questions about commands, scripting concepts, and practical scenarios.
Quiz Participant Details
Participant Name
*
First Name
Last Name
Email Address
*
example@example.com
Shell Scripting Experience Level
*
Please Select
Beginner
Intermediate
Advanced
Shell Scripting Background and Setup
Shell or environment used
*
Please Select
Bash
Zsh
Sh
Fish
PowerShell
Other
Typical shell scripting familiarity
*
Beginner
1
2
3
4
5
6
7
8
9
Advanced
10
1 is Beginner, 10 is Advanced
Shell Scripting Skills Quiz Questions
1. Which command is commonly used to print the value of a shell variable?
*
echo
printf
cat
export
2. Which of the following are valid shell loop constructs?
*
for
while
until
loop
foreach
3. What does an exit status of 0 typically indicate in shell scripting?
*
Success
Warning
Command not found
Syntax error
4. Match each shell command or concept to its most appropriate description.
*
Rows
Use a variable in a script
Filter matching lines
Transform text streams
Check whether the previous command succeeded
$VAR expansion
1
2
3
4
grep
5
6
7
8
sed
9
10
11
12
$? exit status
13
14
15
16
5. Which commands are commonly used to process or inspect text in a Unix shell pipeline?
*
grep
sed
awk
chmod
pipe (
)
Other
Submit Quiz
Should be Empty: