Operating Systems Commands Quiz
Test your knowledge of Unix/Linux and Windows operating system commands, including file management, system utilities, and administrative tasks.
Questions
Command for listing local files after connecting to FTP machine
- ls -lrt
- ls
- !dir
- dir /p
What is soft mount?
- NFS file system with minimum access
- NFS access for root
- NFS file system without access
- No wait time for NFS mount.
In Solaris, what is the command used to find the package of a particular file?
- pkgfind
- pkgchk
- info
- pkginfo
How to list open files in UNIX
- Using lsof command
- Using strings command
- using touch command
- Using ls command
How many prompts available in UNIX system
- 4
- 3
- 1
- 2
Who developed a mechanical device in the 17th century that could add, subtract, multiple, divide and find square roots?
- Napier
- Babbage
- Pascal
- Leibniz
What is the command to open paint?
- paint
- winpaint
- pbrush
- msbrush
what is the command to see mouse properties?
- mouse
- mse.cpl
- main.cpl
- mse
what is the command for remote desktop?
- rmp
- mstsc
- rmdsc
- dsc
what is the command to open game controllers?
- game.cpl
- game control
- joy control
- joy.cpl
What is the user id of super user?
- 1
- 0
- 2
- null
You want to wait for 5 sec at the end of the loop in each loop cycle.Which command will you use?
- sleep
- pause
- wait
- any of above three
Which of the following command is not a filter?
- man
- cat
- pg
- sed
Which is the command used to create a file with zero bytes
- vi
- touch
- cat
- ls
How to find the 51th record of a file containing 100 records in unix
- head -n 51 filename |tail -1
- head -51 <filename> |tail -1
- sed -n 51p <filename>
- All of the above
Write a command to display a file’s contents in various formats?
- oc -db file_name
- oc -cdh filename
- od -cbo file_name
- od -cbd file_name
What is the command to display all the files in the current directory?
- echo *
- ll
- list
- cd
Write a command to kill the last background job?
- Kill $!
- Kill $@
- Kill $%
- Kill $&
Which of the following commands is not a filter?
- pg
- man
- cat
- head
Name the data structure used to maintain file identification?
- dir
- page
- inode
- istr