My Report (&Account)

Unix Online Test


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

Here is the complete list of test quizzes on Unix.

1. For moving two level up in the file hierarchy system using cd command once, we separates ( . . ) by which symbol?

Question 1 of 50

2. Kill -l will list all the signal numbers on our machine.

Question 2 of 50

3. What will be the function of the following command?
$ sed ‘s/ *|/|/g’ emp.lst

Question 3 of 50

4. paste command uses space as the default field delimiter.

Question 4 of 50

5. Which command shows some attributes of a process?

Question 5 of 50

6. In Shell’s interpretive cycle, the shell first scans for ____ in the entered command.

Question 6 of 50

7. -n option is used with cp command for what purpose?

Question 7 of 50

8. An attribute is a specification of an object that defines its property.

Question 8 of 50

9. What does -i option do?

Question 9 of 50

10. Which of the following flag will be used for interactive substitution?

Question 10 of 50

11. Which option is used with gzip command to check compression ratio for files?

Question 11 of 50

12. By default, how many lines are displayed using the head command?

Question 12 of 50

13. ____ option is used with a test for checking if the file exists and has the size greater than zero.

Question 13 of 50

14. To replace a single character, we use ____ command

Question 14 of 50

15. ex mode is used for what purpose?

Question 15 of 50

16. The printf function uses ___ for string data and ___ for numeric.

Question 16 of 50

17. Which of the following is not a valid option of uname?

Question 17 of 50

18. Which of the following command will be used to write the 4th line to file named file002?

Question 18 of 50

19. Which symbol is used for assigning a value to variables?

Question 19 of 50

20. POSIX identifies regular expressions as belonging to ____ categories.

Question 20 of 50

21. In how many categories, commands of UNIX operating system classified?

Question 21 of 50

22. Which one of the following command is used for replacing | with : globally?

Question 22 of 50

23. A perl program runs in a special interpretive mode.

Question 23 of 50

24. Which of the following is supported by awk?

Question 24 of 50

25. Which of the following is not a feature of UNIX?

Question 25 of 50

26. Which command is used for pasting files?

Question 26 of 50

27. When we use ||, both the commands are executed.

Question 27 of 50

28. expr is a _____ command

Question 28 of 50

29. For removing a link, ____ is used.

Question 29 of 50

30. Which option is used with paste command for joining lines?

Question 30 of 50

31. To copy (yank) lines in vi editor, we use ______ command.

Question 31 of 50

32. The SUID for any file can be set by the administrator using ____

Question 32 of 50

33. Which command is used for deleting a single character?

Question 33 of 50

34. Which of the following commands are used for the maintenance of user accounts?

Question 34 of 50

35. t command positions the cursor a single character before the occurrence.

Question 35 of 50

36. UNIX allows the system administrator to use the only chown to change both owner and group.

Question 36 of 50

37. We cannot uncompress files using gzip.

Question 37 of 50

38. We can use the > symbol along with pipe in a command.

Question 38 of 50

39. Pathname is a sequence of symbols and directories indicating the location of a file.

Question 39 of 50

40. On a UNIX system, there can be ____ shells running simultaneously.

Question 40 of 50

41. Which option is used with the head command to specify line count to display?

Question 41 of 50

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

Question 42 of 50

43. ___ option is used with df command for displaying the total amount of disk space in the file system.

Question 43 of 50

44. Every process has a parent process.

Question 44 of 50

45. chmod command can take multiple filenames as arguments.

Question 45 of 50

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

Question 46 of 50

47. Which of the following system call is used for closing a file?

Question 47 of 50

48. To change entire lines, ____ is used.

Question 48 of 50

49. To add elements to the right side of the array ____ function is used.

Question 49 of 50

50. truncate needs the ___ of the file as an argument but ftruncate works with _______

Question 50 of 50


 

Topic wise Test Quizzes on Unix

Unix tests, quizzes, and exams are great ways to learn and test your Unix skills. Whether you’re a beginner or experienced, challenge and boost your confidence with our engaging online quizzes on Unix Basics, File System, File Management, Unix Shell, Process Management, Filter Command, System Programming, Unix Process Control, grep, sed and awk commands. Start the Unix online test now!



Unix Certification Test

Unix Certification Test is a free certification exam. However, you need to score an A grade in each of the "Certification Level Tests 1 to 10" to be eligible to take part in this certification test. So, take all the "10 Tests" starting from Certification Level 1 upto Level 10, before taking the final Certification test.


Level 1 to 10 Tests:
Total Questions: 25, Total Time: 30 min, Correct Answer: 2 points, Wrong Answer: -1 point

Certification Test:
Total Questions: 50, Total Time: 1 hour, Correct Answer: 2 points, Wrong Answer: -1 point

Unix Internship Test

If you scored either Grade A* or Grade A in our Unix Internship Test, then you can apply for Internship at Sanfoundry in Unix.


Total Questions: 50, Total Time: 1 hour, Correct Answer: 2 points, Wrong Answer: -1 point

Unix Job Test

It is designed to test and improve your skills for a successful career, as well as to apply for jobs.


Total Questions: 50, Total Time: 1 hour, Correct Answer: 2 points, Wrong Answer: -1 point

Note: Before you get started on these series of online tests, you should practice our collection of 1000 MCQs on Unix .

Sanfoundry Scoring & Grading System

Sanfoundry tests and quizzes are designed to provide a real-time online exam experience. Here is what you need to know about them.

  • Scoring System: You get 2 points for each correct answer but lose 1 point for every wrong answer.
  • Grading System: Your grade depends on your final score and can be one of the following:

    • Grade A* - Genius (100%)
    • Grade A - Excellent (80% to 99%)
    • Grade B - Good (60% to 80%)
    • Grade C - Average (40% to 60%)
    • Grade D - Poor (0% to 40%)
advertisement
advertisement
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.