Home

CEED - Linux OS 1000+ MCQ [Solved] PDF Download

Thursday 9th of March 2023

Sharing is caring

1. 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
2. Password is applied using
A. psswd
B. pssword
C. uerpasswd
D. passwd username
Answer : D
3. To view all the installed RPM packages use
A. rpm -qa
B. rpm -iv
C. rpm -h
D. rpm -I
Answer : A
4. 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
5. Linux is a ---------------Operating System
A. Single User
B. Multi User
C. Time Sharing
D. None of the above
Answer : B
6. To delete user the command is
A. rm <username>
B. delete <username>
C. userdel <username>
D. any one of the above
Answer : C
7. A swap partition is actually
A. Primary partition
B. Extended partition
C. Extended memory
D. Virtual memory
Answer : D
8. To start graphics mode use
A. init 3
B. init 5
C. init 0
D. init 6
Answer : B
9. Default file system type of Linux is
A. etx
B. ext2
C. etx3
D. mimix
Answer : C
10. Protocols used by Linux are
A. TCP/IP &UUCP
B. UDP & UUCP
C. PPP & UDP
D. None of the above
Answer : A
11. Linux mount partition must be a primary partition
A. True
B. False
C.
D.
Answer : B
12. There can be only ----- job in foreground.
A. 1
B. 2
C. 3
D. 4
Answer : A
13. Which command is used for character translation?
A. td
B. vi
C. tr
D. tail
Answer : C
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 access a directory the minimum permission required is
A. r
B. w
C. x
D. All
Answer : C
16. 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
17. 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
18. 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
19. Which command is used to see the content of a file
A. more
B. cp
C. cat
D. rmdir
Answer : C
20. ls - t is used for
A. Sort by name
B. Sort by date
C. Sort by time stamp
D. Sort by alphabetic order
Answer : C
21. Shell is a
A. Program
B. Hardware
C. Account
D. None of the above
Answer : A
22. 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
23. The symbol of wildcard(s) is
A. w
B. `
C. ? *
D. None of the above.
Answer : C
24. 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
25. In practical, at the most _____ terminals can be opened at a time
A. 3
B. 6
C. 10
D. 12
Answer : B
26. To see the process status which command you will use?
A. chmod
B. ps
C. ls-l
D. head
Answer : B
27. To get information about the Ethernet card, ___________ command is used
A. ipconfig
B. ifconfig
C. eth0
D. man Ethernet
Answer : B
28. _______ will add contents to an existing file
A. cat > file
B. cat >> file
C. cat file | file1
D. cat file > file1
Answer : B
29. ls -o is used for
A. Except Group
B. Except Owner
C. Except Size in Byte
D. None of the above
Answer : A
30. 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
31. To setup a Firewall, the command is
A. ntsysv
B. setup
C. /etc/firewall
D. /etc/install
Answer : B
32. 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
33. The core of Linux OS is also called
A. Kernel
B. Shell
C. root
D. bash
Answer : A
34. Which command is used to compare files?
A. cmp
B. diff
C. head
D. All of these
Answer : A
35. The --------- command sorts lines of all the named files.
A. desc
B. cp
C. sort
D. ls -l
Answer : C
36. /dev is used for
A. Executable file
B. Contains include file
C. Contain compiler file.
D. Device file & resource file.
Answer : D
37. An user can login without password
A. True
B. False
C.
D.
Answer : A
38. 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
39. Which command is used to see the system date?
A. Time
B. Date
C. Month
D. None of these
Answer : B
40. During Linux booting the init program is called by
A. ROM
B. Bootstrap
C. Sysinit
D. Kernel
Answer : D
41. ________ gives information about an user
A. who
B. who am i
C. who -i
D. None of the above
Answer : B
42. To create multiple directories in one shot ________ is used
A. mkdir
B. mkdir -a
C. mkdir -p
D. mkdir -h
Answer : C
43. 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
44. Samba password and user password are same
A. True
B. False
C.
D.
Answer : B
45. Linux is a
A. Multi Tasking OS
B. Multi User OS
C. Dedicated Server
D. All of the above
Answer : A
46. To remove a directory which is not empty ____ is used
A. rmdir
B. rmdir -r
C. rm -r
D. rm
Answer : C
47. The command to view the partition information is
A. fsck
B. fstab
C. fdisk
D. diskdruid
Answer : C
48. When an user is deleted it home directory contents are also deleted
A. True
B. False
C.
D.
Answer : B
49. 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
50. init 6 is
A. Shutdown
B. Restart
C. Text mode
D. Graphics mode
Answer : B

Sharing is caring