Shell Scripting Quiz (Set 17)

Shell Scripting (Set 7)

1 / 10

In a shell script, how do you perform exponentiation?

2 / 10

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

3 / 10

In a shell script, how do you check if a file is executable?

4 / 10

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

5 / 10

In a shell script, how do you access the command-line arguments?

6 / 10

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

7 / 10

Which operator is used for string concatenation in a shell script?

8 / 10

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

9 / 10

In a shell script, how do you iterate over files in a directory?

10 / 10

What is the purpose of the 'case' statement in a shell script?

Your score is

The average score is 0%

0%