Shell Scripting Quiz (Set 11)

Shell Scripting (Set 1)

1 / 10

Which operator is used for command substitution in a shell script?

2 / 10

What is the purpose of the 'cut' command in a shell script?

3 / 10

Which command is used to read user input in a shell script?

4 / 10

What does the 'if' statement in a shell script do?

5 / 10

Which variable contains the exit status of the last executed command?

6 / 10

What is the purpose of the 'grep' command in a shell script?

7 / 10

Which command is used to iterate over items in an array in a shell script?

8 / 10

What does the '$#' variable represent in a shell script?

9 / 10

Which symbol is used to represent the standard output in a shell script?

10 / 10

What command is used to make a shell script executable?

Your score is

The average score is 0%

0%