Unix interview questions part 26

Unix interview questions part 26

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Which of the following shell doesn’t support ! symbol for negating the character class?

Correct Answer is : C

2. The command cd * will work.

Correct Answer is : TRUE

3. Providing a backslash (\) before the wild card to remove its special meaning is called _____

Correct Answer is : escaping

4. Enclosing the wild card or the entire pattern within quotes is called ___

Correct Answer is : quoting

5. To remove the file named my document.txt, which one of the following commands will be used?

Correct Answer is : rm my\ document.txt

6. We can escape the \ itself using escaping.

Correct Answer is : TRUE

7. For escaping the newline character we can use ____

Correct Answer is : \

8. The output of the following command is ______________ $ echo ‘The special character $ echo hello and | ls chap*’

Correct Answer is : The special character $ echo hello and | ls chap*

9. Double quotes are more permissive than single quotes and allow the evaluation of the $ and ` itself.

Correct Answer is : TRUE

10. Which of the following command will remove the file named * ?

Correct Answer is : rm ‘*’ and rm \*

11. Which of the following resources are required to be managed and monitored?

Correct Answer is : CPU time, I/O time, disk space

12. System time comprises ____ components.

Correct Answer is : 5

13. Which command is used to display all the running and active real-time processes?

Correct Answer is : top

14. ____ command displays the list of all open files and processes.

Correct Answer is : lsof

15. ____ is a simple tool that will collect and show system input and output storage device statistics.

Correct Answer is : Iostat

16. sar is a command line tool for collecting, viewing and recording performance data.

Correct Answer is : TRUE

17. To override the default action and catch the signal ____ system call is used.

Correct Answer is : signal

18. Which of the following functions can be performed using signal system call?

Correct Answer is : ignore the signal, restore the default and invoke a signal handling function

19. Which of the following signals can neither be ignored nor catch?

Correct Answer is : SIGKILL and SIGSTOP

20. Which one of the following is the most powerful filter?

Correct Answer is : perl

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon