Unix/Linux Commands Quiz
Test your knowledge of Unix/Linux commands including file operations, system utilities, and vi editor commands
Questions
Question 1 Multiple Choice (Single Answer)
What is the command to create a file in unix?
- create
- tocohe
- touche
- touch
Question 2 Multiple Choice (Single Answer)
What is the command to create directory?
- mkdir
- mknod
- mkfol
- cat
Question 3 Multiple Choice (Single Answer)
What is the location to find the kernel file?
- /bin
- /usr
- /stand
- /home/usr
Question 4 Multiple Choice (Single Answer)
In which file default run level is stored?
- /usr/local
- /bin/local
- /etc/inittab
- /etc/default
Question 5 Multiple Choice (Single Answer)
What is the command to list files in directory?
- dd
- xx
- pp
- ll
Question 6 Multiple Choice (Single Answer)
What is the command to know the version of the OS?
- uname -a
- uname -e
- uname -os
- uname -w
Question 7 Multiple Choice (Single Answer)
what is the command to delete lines in 'vi editor'?
- ll
- dl
- dw
- dd
Question 8 Multiple Choice (Single Answer)
what is the command to know the lines in one file?
- wc -l
- wl -c
- lc -w
- wk -a
Question 9 Multiple Choice (Single Answer)
what is the command to see the status of any printer?
- lpstat -p
- lpstat -o
- lpstat -s
- lpstat -i
Question 10 Multiple Choice (Single Answer)
What is the command to see the space utilization of any file system?
- ebdf
- show
- free
- memory