Home

SSC CPO - Linux OS 1000+ MCQ [Solved] PDF Download

Thursday 9th of March 2023

Sharing is caring

1. -wxrwx-x is equivalent to
A. 567
B. 675
C. 571
D. 672
Answer : C
2. While installing Linux, users can be created
A. True
B. False
C.
D.
Answer : A
3. Home directory of root is
A. /home
B. /bin
C. /root
D. /boot
Answer : C
4. The symbol of wildcard(s) is
A. w
B. `
C. ? *
D. None of the above.
Answer : C
5. 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
6. who -h is used to
A. Print column headings
B. Hide detail.
C. Hide user name.
D. All of the above.
Answer : A
7. To change the ownership of a file use
A. chmod
B. chgrp
C. chown
D. change
Answer : C
8. ________ gives information about an user
A. who
B. who am i
C. who -i
D. None of the above
Answer : B
9. 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
10. To unmount a filesystem ________ command is ised
A. Umount
B. unmount
C. dismount
D. mount -u
Answer : A
11. During Linux booting the init program is called by
A. ROM
B. Bootstrap
C. Sysinit
D. Kernel
Answer : D
12. _______ will add contents to an existing file
A. cat > file
B. cat >> file
C. cat file | file1
D. cat file > file1
Answer : B
13. To remove a directory which is not empty ____ is used
A. rmdir
B. rmdir -r
C. rm -r
D. rm
Answer : C
14. Name of the kernel file in Linux is
A. lkrnl
B. vmlinux
C. linuxbin
D. none of the above
Answer : D
15. Samba is actually a
A. Share
B. File server
C. File
D. None of the above
Answer : B
16. 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
17. To create multiple directories in one shot ________ is used
A. mkdir
B. mkdir -a
C. mkdir -p
D. mkdir -h
Answer : C
18. To see the process status which command you will use?
A. chmod
B. ps
C. ls-l
D. head
Answer : B
19. Linux mount partition must be a primary partition
A. True
B. False
C.
D.
Answer : B
20. To search a pattern in a file _________ can be used
A. grep
B. egrep
C. find
D. search
Answer : A
21. /dev is used for
A. Executable file
B. Contains include file
C. Contain compiler file.
D. Device file & resource file.
Answer : D
22. A swap partition is actually
A. Primary partition
B. Extended partition
C. Extended memory
D. Virtual memory
Answer : D
23. The core of Linux OS is also called
A. Kernel
B. Shell
C. root
D. bash
Answer : A
24. To start graphics mode use
A. init 3
B. init 5
C. init 0
D. init 6
Answer : B
25. Shell is a
A. Program
B. Hardware
C. Account
D. None of the above
Answer : A
26. 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
27. Hidden file can be viewed using
A. ls -l
B. ls -a
C. ls -h
D. None of the above
Answer : B
28. Which command is used to compare files?
A. cmp
B. diff
C. head
D. All of these
Answer : A
29. In practical, at the most _____ terminals can be opened at a time
A. 3
B. 6
C. 10
D. 12
Answer : B
30. 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
31. To setup a Firewall, the command is
A. ntsysv
B. setup
C. /etc/firewall
D. /etc/install
Answer : B
32. _______ is used to rename files
A. ren
B. move
C. rename
D. mv
Answer : D
33. wc -l will give the
A. Number of lines
B. Number of characters
C. Number of words
D. All of the above
Answer : A
34. An user can login without password
A. True
B. False
C.
D.
Answer : A
35. When an user is deleted it home directory contents are also deleted
A. True
B. False
C.
D.
Answer : B
36. 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
37. Which command is used to see the content of a file
A. more
B. cp
C. cat
D. rmdir
Answer : C
38. ls -o is used for
A. Except Group
B. Except Owner
C. Except Size in Byte
D. None of the above
Answer : A
39. There can be only ----- job in foreground.
A. 1
B. 2
C. 3
D. 4
Answer : A
40. To get information about the Ethernet card, ___________ command is used
A. ipconfig
B. ifconfig
C. eth0
D. man Ethernet
Answer : B
41. ls j?e - output will be
A. Filenames with 3 charcter
B. Filenames with 4 charcter
C. Filenames with 5 charcter
D. Filenames with 10 charcter
Answer : A
42. 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
43. All run levels are stored in
A. /etc/fstab
B. /etc/init
C. /etc/inittab
D. /etc/rc.d
Answer : C
44. 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
45. 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
46. For a user _______ is an autoexec.bat equivalent file in Linux
A. .bashrc
B. .bash_rc
C. .bash_profile
D. .bashprofile
Answer : C
47. 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
48. User passwords are stored in
A. /etc/password
B. /root/password
C. /etc/passwd
D. /root/passwd
Answer : C
49. The command to check a partition is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : A
50. _______ is used to change the file/folder permission
A. chown
B. chmod
C. mod
D. chgrp
Answer : B

Sharing is caring