Home

1000+ Linux OS MCQ for SBI Clerk [Solved]

Thursday 9th of March 2023

Sharing is caring

1. _______ is used to change the file/folder permission
A. chown
B. chmod
C. mod
D. chgrp
Answer : B
2. To unmount a filesystem ________ command is ised
A. Umount
B. unmount
C. dismount
D. mount -u
Answer : A
3. _______ will add contents to an existing file
A. cat > file
B. cat >> file
C. cat file | file1
D. cat file > file1
Answer : B
4. The command to view the partition information is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : C
5. While installing Linux, users can be created
A. True
B. False
C.
D.
Answer : A
6. To access a directory the minimum permission required is
A. r
B. w
C. x
D. All
Answer : C
7. Output of the command 'wc <filename>' is
A. Show only line
B. Show only word.
C. Show alphabet, line, word.
D. Show only file name.
Answer : C
8. To check if a service is running, the command is
A. Ntsysv
B. setup
C. /etc/rc.d/init.d/service
D. /etc/serice
Answer : A
9. Samba password and user password are same
A. True
B. False
C.
D.
Answer : B
10. A swap partition is actually
A. Primary partition
B. Extended partition
C. Extended memory
D. Virtual memory
Answer : D
11. chmod 632 stuff means
A. Gives read & write& execute permission for owner write & execute for group read permission for other.
B. Gives read & write permission for owner write & execute for group Write permission for other.
C. Gives write permission for owner write & execute for group Write permission for other.
D. Gives read & write permission for owner read & execute for group Write permission for other.
Answer : B
12. For a user _______ is an autoexec.bat equivalent file in Linux
A. .bashrc
B. .bash_rc
C. .bash_profile
D. .bashprofile
Answer : C
13. The type of shell mostly used for Linux is
A. bash
B. korn
C. bourne
D. C-shell
Answer : A
14. Password is applied using
A. psswd
B. pssword
C. uerpasswd
D. passwd username
Answer : D
15. To change the ownership of a file use
A. chmod
B. chgrp
C. chown
D. change
Answer : C
16. The command to check a partition is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : A
17. /dev is used for
A. Executable file
B. Contains include file
C. Contain compiler file.
D. Device file & resource file.
Answer : D
18. init 6 is
A. Shutdown
B. Restart
C. Text mode
D. Graphics mode
Answer : B
19. Read & Write permission means
A. 1
B. 6
C. 2
D. 0
Answer : B
20. The main function of grep is
A. look for numeric
B. look for string match a regular expression..
C. look for string without regular expression.
D. None of them.
Answer : B
21. Linux kernel file name is
A. vmlinux
B. vmlinuz
C. lynx
D. linux
Answer : B
22. All device files are stored in
A. /device
B. /etc/dev
C. /bin
D. /dev
Answer : D
23. To delete user the command is
A. rm <username>
B. delete <username>
C. userdel <username>
D. any one of the above
Answer : C
24. ________ gives information about an user
A. who
B. who am i
C. who -i
D. None of the above
Answer : B
25. All run levels are stored in
A. /etc/fstab
B. /etc/init
C. /etc/inittab
D. /etc/rc.d
Answer : C
26. sort file, will sort the contents of the file and the effect will be reflected in the file
A. True
B. False
C.
D.
Answer : B
27. ls -o is used for
A. Except Group
B. Except Owner
C. Except Size in Byte
D. None of the above
Answer : A
28. If there is any problem with the command, the error is given by
A. Kernel
B. Shell
C. root
D. None of the above
Answer : B
29. What is the meaning of chmod 444 stuf?
A. Gives all user write permission.
B. Gives all user execute permission.
C. Gives all user read permission.
D. All of the above.
Answer : C
30. The core of Linux OS is also called
A. Kernel
B. Shell
C. root
D. bash
Answer : A
31. Name of the kernel file in Linux is
A. lkrnl
B. vmlinux
C. linuxbin
D. none of the above
Answer : D
32. -wxrwx-x is equivalent to
A. 567
B. 675
C. 571
D. 672
Answer : C
33. Which command is used to see the content of a file
A. more
B. cp
C. cat
D. rmdir
Answer : C
34. During Linux booting the init program is called by
A. ROM
B. Bootstrap
C. Sysinit
D. Kernel
Answer : D
35. Output of 'sort > shoppinglist' is
A. Sorting file but not save in file.
B. Without sorting but save in file.
C. Sorting and save in a file.
D. All of the above.
Answer : C
36. cat > abc, if the requested file does not exist, error will be given by
A. Kernel
B. Shell
C. root
D. None of the above
Answer : A
37. There can be only ----- job in foreground.
A. 1
B. 2
C. 3
D. 4
Answer : A
38. Linux is a dedicated server
A. True
B. False
C.
D.
Answer : B
39. Which command is used to see the system date?
A. Time
B. Date
C. Month
D. None of these
Answer : B
40. To setup a Firewall, the command is
A. ntsysv
B. setup
C. /etc/firewall
D. /etc/install
Answer : B
41. mkdir - p is used for
A. Making directory under parent directory.
B. Making directory non existing parent directory.
C. Specified the mode of directory.
D. None of the above
Answer : B
42. The X-Window system in Linux is a
A. program development environment
B. graphical user interface
C. tool to connect Linux with Windows
D. none of the above
Answer : B
43. To get information about the Ethernet card, ___________ command is used
A. ipconfig
B. ifconfig
C. eth0
D. man Ethernet
Answer : B
44. To start graphics mode use
A. init 3
B. init 5
C. init 0
D. init 6
Answer : B
45. _______ is used to rename files
A. ren
B. move
C. rename
D. mv
Answer : D
46. who -h is used to
A. Print column headings
B. Hide detail.
C. Hide user name.
D. All of the above.
Answer : A
47. In comm the 2nd column displays
A. Lines unique in the first file
B. Lines unique in the second file
C. Lines common in the both file
D.
Answer : B
48. Linux mount partition must be a primary partition
A. True
B. False
C.
D.
Answer : B
49. A user is logged in on a terminal; root tries to delete the user. Will the user be deleted?
A. Yes
B. No
C.
D.
Answer : B
50. To give all permission to a file to all users the command is
all of the above

A. chmod a+777 file
B. chmod a+rwx file
C. chmod ugo+7 file
D. none of the above
Answer : B

Sharing is caring