Home

Linux OS MCQ Solved Paper for SSC CHSL

Thursday 9th of March 2023

Sharing is caring

1. 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
2. ________ gives information about an user
A. who
B. who am i
C. who -i
D. None of the above
Answer : B
3. To setup a Firewall, the command is
A. ntsysv
B. setup
C. /etc/firewall
D. /etc/install
Answer : B
4. 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
5. Which command is used for character translation?
A. td
B. vi
C. tr
D. tail
Answer : C
6. While installing Linux, users can be created
A. True
B. False
C.
D.
Answer : A
7. The command to check a partition is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : A
8. _______ is used to change the file/folder permission
A. chown
B. chmod
C. mod
D. chgrp
Answer : B
9. wc -l will give the
A. Number of lines
B. Number of characters
C. Number of words
D. All of the above
Answer : A
10. 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
11. who -h is used to
A. Print column headings
B. Hide detail.
C. Hide user name.
D. All of the above.
Answer : A
12. The symbol of wildcard(s) is
A. w
B. `
C. ? *
D. None of the above.
Answer : C
13. To search a pattern in a file _________ can be used
A. grep
B. egrep
C. find
D. search
Answer : A
14. The encrypted password is stored in which field of /etc/password file ?
A. first
B. second
C. third
D. last
Answer : B
15. _______ is used to rename files
A. ren
B. move
C. rename
D. mv
Answer : D
16. The mounted partition information is stored in
A. /etc/passwd
B. /etc/fstab
C. /etc/inittab
D. /sbin/lilo
Answer : B
17. 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
18. For a user _______ is an autoexec.bat equivalent file in Linux
A. .bashrc
B. .bash_rc
C. .bash_profile
D. .bashprofile
Answer : C
19. User passwords are stored in
A. /etc/password
B. /root/password
C. /etc/passwd
D. /root/passwd
Answer : C
20. When an user is deleted it home directory contents are also deleted
A. True
B. False
C.
D.
Answer : B
21. 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
22. Password is applied using
A. psswd
B. pssword
C. uerpasswd
D. passwd username
Answer : D
23. 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
24. Home directory of root is
A. /home
B. /bin
C. /root
D. /boot
Answer : C
25. 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
26. Read & Write permission means
A. 1
B. 6
C. 2
D. 0
Answer : B
27. Which command is used to see the content of a file
A. more
B. cp
C. cat
D. rmdir
Answer : C
28. The command to view the partition information is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : C
29. Samba password and user password are same
A. True
B. False
C.
D.
Answer : B
30. To change the ownership of a file use
A. chmod
B. chgrp
C. chown
D. change
Answer : C
31. Linux kernel file name is
A. vmlinux
B. vmlinuz
C. lynx
D. linux
Answer : B
32. To get information about the Ethernet card, ___________ command is used
A. ipconfig
B. ifconfig
C. eth0
D. man Ethernet
Answer : B
33. Protocols used by Linux are
A. TCP/IP &UUCP
B. UDP & UUCP
C. PPP & UDP
D. None of the above
Answer : A
34. init 6 is
A. Shutdown
B. Restart
C. Text mode
D. Graphics mode
Answer : B
35. Linux is a ---------------Operating System
A. Single User
B. Multi User
C. Time Sharing
D. None of the above
Answer : B
36. There can be only ----- job in foreground.
A. 1
B. 2
C. 3
D. 4
Answer : A
37. To see the process status which command you will use?
A. chmod
B. ps
C. ls-l
D. head
Answer : B
38. The core of Linux OS is also called
A. Kernel
B. Shell
C. root
D. bash
Answer : A
39. 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
40. To access a directory the minimum permission required is
A. r
B. w
C. x
D. All
Answer : C
41. During Linux booting the init program is called by
A. ROM
B. Bootstrap
C. Sysinit
D. Kernel
Answer : D
42. Which command is used to see the system date?
A. Time
B. Date
C. Month
D. None of these
Answer : B
43. Default file system type of Linux is
A. etx
B. ext2
C. etx3
D. mimix
Answer : C
44. To delete user the command is
A. rm <username>
B. delete <username>
C. userdel <username>
D. any one of the above
Answer : C
45. -wxrwx-x is equivalent to
A. 567
B. 675
C. 571
D. 672
Answer : C
46. To create multiple directories in one shot ________ is used
A. mkdir
B. mkdir -a
C. mkdir -p
D. mkdir -h
Answer : C
47. All run levels are stored in
A. /etc/fstab
B. /etc/init
C. /etc/inittab
D. /etc/rc.d
Answer : C
48. Linux is a
A. Multi Tasking OS
B. Multi User OS
C. Dedicated Server
D. All of the above
Answer : A
49. An user can login without password
A. True
B. False
C.
D.
Answer : A
50. Linux is a dedicated server
A. True
B. False
C.
D.
Answer : B

Sharing is caring