Shell Scripting Quiz (Set 19)

Shell Scripting (Set 9)

1 / 10

In a shell script, how do you perform arithmetic operations with floating-point numbers?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

In a shell script, how do you check if a string starts with a specific substring?

6 / 10

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

7 / 10

Which operator is used for file redirection in a shell script?

8 / 10

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

9 / 10

In a shell script, how do you get the current date and time?

10 / 10

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

Your score is

The average score is 0%

0%