Operating Systems Commands Quiz

Test your knowledge of Unix/Linux and Windows operating system commands, including file management, system utilities, and administrative tasks.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Command for listing local files after connecting to FTP machine

  1. ls -lrt
  2. ls
  3. !dir
  4. dir /p
Question 2 Multiple Choice (Single Answer)

What is soft mount?

  1. NFS file system with minimum access
  2. NFS access for root
  3. NFS file system without access
  4. No wait time for NFS mount.
Question 3 Multiple Choice (Single Answer)

In Solaris, what is the command used to find the package of a particular file?

  1. pkgfind
  2. pkgchk
  3. info
  4. pkginfo
Question 4 Multiple Choice (Single Answer)

How to list open files in UNIX

  1. Using lsof command
  2. Using strings command
  3. using touch command
  4. Using ls command
Question 5 Multiple Choice (Single Answer)

How many prompts available in UNIX system

  1. 4
  2. 3
  3. 1
  4. 2
Question 6 Multiple Choice (Single Answer)

Who developed a mechanical device in the 17th century that could add, subtract, multiple, divide and find square roots?

  1. Napier
  2. Babbage
  3. Pascal
  4. Leibniz
Question 7 Multiple Choice (Single Answer)

What is the command to open paint?

  1. paint
  2. winpaint
  3. pbrush
  4. msbrush
Question 8 Multiple Choice (Single Answer)

what is the command to see mouse properties?

  1. mouse
  2. mse.cpl
  3. main.cpl
  4. mse
Question 9 Multiple Choice (Single Answer)

what is the command for remote desktop?

  1. rmp
  2. mstsc
  3. rmdsc
  4. dsc
Question 10 Multiple Choice (Single Answer)

what is the command to open game controllers?

  1. game.cpl
  2. game control
  3. joy control
  4. joy.cpl
Question 11 Multiple Choice (Single Answer)

What is the user id of super user?

  1. 1
  2. 0
  3. 2
  4. null
Question 12 Multiple Choice (Single Answer)

You want to wait for 5 sec at the end of the loop in each loop cycle.Which command will you use?

  1. sleep
  2. pause
  3. wait
  4. any of above three
Question 13 Multiple Choice (Single Answer)

Which of the following command is not a filter?

  1. man
  2. cat
  3. pg
  4. sed
Question 14 Multiple Choice (Single Answer)

Which is the command used to create a file with zero bytes

  1. vi
  2. touch
  3. cat
  4. ls
Question 15 Multiple Choice (Single Answer)

How to find the 51th record of a file containing 100 records in unix

  1. head -n 51 filename |tail -1
  2. head -51 <filename> |tail -1
  3. sed -n 51p <filename>
  4. All of the above
Question 16 Multiple Choice (Single Answer)

Write a command to display a file’s contents in various formats?

  1. oc -db file_name
  2. oc -cdh filename
  3. od -cbo file_name
  4. od -cbd file_name
Question 17 Multiple Choice (Single Answer)

What is the command to display all the files in the current directory?

  1. echo *
  2. ll
  3. list
  4. cd
Question 18 Multiple Choice (Single Answer)

Write a command to kill the last background job?

  1. Kill $!
  2. Kill $@
  3. Kill $%
  4. Kill $&
Question 19 Multiple Choice (Single Answer)

Which of the following commands is not a filter?

  1. pg
  2. man
  3. cat
  4. head
Question 20 Multiple Choice (Single Answer)

Name the data structure used to maintain file identification?

  1. dir
  2. page
  3. inode
  4. istr