Home

Linux OS MCQ Solved Paper for SBI PO

Thursday 9th of March 2023

Sharing is caring

1. Protocols used by Linux are
A. TCP/IP &UUCP
B. UDP & UUCP
C. PPP & UDP
D. None of the above
Answer : A
2. The symbol of wildcard(s) is
A. w
B. `
C. ? *
D. None of the above.
Answer : C
3. 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
4. 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
5. Home directory of root is
A. /home
B. /bin
C. /root
D. /boot
Answer : C
6. The --------- command sorts lines of all the named files.
A. desc
B. cp
C. sort
D. ls -l
Answer : C
7. 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
8. wc -l will give the
A. Number of lines
B. Number of characters
C. Number of words
D. All of the above
Answer : A
9. Linux is a ---------------Operating System
A. Single User
B. Multi User
C. Time Sharing
D. None of the above
Answer : B
10. The command for changing the permission relating to files is
A. ls-l
B. head
C. tail
D. chmod
Answer : D
11. Samba is actually a
A. Share
B. File server
C. File
D. None of the above
Answer : B
12. Default file system type of Linux is
A. etx
B. ext2
C. etx3
D. mimix
Answer : C
13. The encrypted password is stored in which field of /etc/password file ?
A. first
B. second
C. third
D. last
Answer : B
14. What will be the output of the command 'tail sample'?
A. Last 10 lines of the file.
B. Last 15 lines of the file
C. Last 5 lines of the file
D. First 10 lines of file.
Answer : A
15. To change the ownership of a file use
A. chmod
B. chgrp
C. chown
D. change
Answer : C
16. The core of Linux OS is also called
A. Kernel
B. Shell
C. root
D. bash
Answer : A
17. To start graphics mode use
A. init 3
B. init 5
C. init 0
D. init 6
Answer : B
18. 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
19. To create multiple directories in one shot ________ is used
A. mkdir
B. mkdir -a
C. mkdir -p
D. mkdir -h
Answer : C
20. _______ is used to rename files
A. ren
B. move
C. rename
D. mv
Answer : D
21. 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
22. Linux is a
A. Multi Tasking OS
B. Multi User OS
C. Dedicated Server
D. All of the above
Answer : A
23. Linux is a dedicated server
A. True
B. False
C.
D.
Answer : B
24. There can be only ----- job in foreground.
A. 1
B. 2
C. 3
D. 4
Answer : A
25. The command to view the partition information is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : C
26. Name of the kernel file in Linux is
A. lkrnl
B. vmlinux
C. linuxbin
D. none of the above
Answer : D
27. _______ will add contents to an existing file
A. cat > file
B. cat >> file
C. cat file | file1
D. cat file > file1
Answer : B
28. Hidden file can be viewed using
A. ls -l
B. ls -a
C. ls -h
D. None of the above
Answer : B
29. 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
30. Linux kernel file name is
A. vmlinux
B. vmlinuz
C. lynx
D. linux
Answer : B
31. User can be assigned to a group while creating the user. The command for this is
A. adduser -g
B. useradd -a
C. aduser -a
D. useradd -g
Answer : A
32. During Linux booting the init program is called by
A. ROM
B. Bootstrap
C. Sysinit
D. Kernel
Answer : D
33. 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
34. init 6 is
A. Shutdown
B. Restart
C. Text mode
D. Graphics mode
Answer : B
35. The mounted partition information is stored in
A. /etc/passwd
B. /etc/fstab
C. /etc/inittab
D. /sbin/lilo
Answer : B
36. Read & Write permission means
A. 1
B. 6
C. 2
D. 0
Answer : B
37. What is the relation between grep & egrep
A. egrap is a mother of grep.
B. Egrap is totally difference
C. Egrap is a another version of grep.
D. None of these.
Answer : C
38. In practical, at the most _____ terminals can be opened at a time
A. 3
B. 6
C. 10
D. 12
Answer : B
39. The type of shell mostly used for Linux is
A. bash
B. korn
C. bourne
D. C-shell
Answer : A
40. To delete an user along with its home directory, the command is
A. userdel -d username
B. userdel -D username
C. userdel -r username
D. userdel -R username
Answer : C
41. /dev is used for
A. Executable file
B. Contains include file
C. Contain compiler file.
D. Device file & resource file.
Answer : D
42. To remove a directory which is not empty ____ is used
A. rmdir
B. rmdir -r
C. rm -r
D. rm
Answer : C
43. A swap partition is actually
A. Primary partition
B. Extended partition
C. Extended memory
D. Virtual memory
Answer : D
44. 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
45. 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
46. To delete user the command is
A. rm <username>
B. delete <username>
C. userdel <username>
D. any one of the above
Answer : C
47. Password is applied using
A. psswd
B. pssword
C. uerpasswd
D. passwd username
Answer : D
48. 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
49. To view all the installed RPM packages use
A. rpm -qa
B. rpm -iv
C. rpm -h
D. rpm -I
Answer : A
50. The command to check a partition is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : A

Sharing is caring