My Report

Unix Mock Test 7


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. Which option is used when we want to use an ERE with grep command?

Question 1 of 10

Question 2 of 10

2. Which of the following operators is used with test for comparison of numeric values?

Question 2 of 10

Question 3 of 10

3. The first argument is read by the shell into the parameter ___

Question 3 of 10

Question 4 of 10

4. Which of the following is not a subset of BRE (basic regular expression) character subset?

Question 4 of 10

Question 5 of 10

5. Which option displays only the filename containing the pattern?

Question 5 of 10

Question 6 of 10

6. Which option is used with grep command for deleting lines?

Question 6 of 10

Question 7 of 10

7. The complete set of positional parameters is stored in ______ as a single string.

Question 7 of 10

Question 8 of 10

8. _____ option is used with sort command for removing repeated lines.

Question 8 of 10

Question 9 of 10

9. grep command supports both extended and regular expressions.

Question 9 of 10

Question 10 of 10

10. Which option is used by the sort command to redirect the output to a specified file?

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.