Breaking Updates

Linux Operating System MCQ || ITI COPA || CITS Exam ||

Linux operating system & Commands 

1. Multitasking and multiuser is feature of _____ 
Ans. Linux

2.The name “LINUX” is derived from it‟s inventor _____ 
 Ans. Linus Torvalds

3. Linux is Pronounced with a short i, as in ______ 
Ans. LIH – NUX

4. Linux is multitasking and _____ bit support 
Ans. 32

5.Which character is used to represent parent directory in Linux?
(A) .
(B) ..
(C) ~
(D) *
Ans. b

6.Which character is used to redirect output in to an existing file in Linux?
(A) >
(B) >>
(C) < 
(D) <<
Ans. b

7.Which one of the following is the directory separator in Linux?
(A) / 
(B) \ 
(C) // 
(D)\\
Ans. a

8.Which character is used to represent a range of values in Linux?
A. ( )
B. [ ]
C. { }
D. <>
Ans. b

9.Which character redirects the output of one command to another in Linux?
A. .dot
B. | pipe
C. : colon
D. ; semicolon
Ans. b

10.Which Linux command list the content of all sub directory?
(A) ls ~ 
(B) ls * /
(C) ls / 
(D) ls ../
Ans. b

11.Which Linux command list the contents of parent directory?
(A) ls ~ 
(B) ls */ 
(C) ls / 
(D) ls .. /
Ans. d

12.What is use of „who‟ command in Linux?
A. login user
B. logout user
C. login password
D. logout password
Ans. a

13.Write the Linux command to remove all the permission to the user and group on the directory„software‟? 
A. chmodug - rwx software
B. chmodug - a software
C. chmodug - A software
D. chmodug - Rwx software
Ans. a

14.Which Linux command is used to sort the text file „network‟ in descending order?
A. Sort / r network
B. Sort - r network
C. Sort + r network
D. Sort \ r network
Ans. b

15.Which Linux command to set the permission „x‟ to user, „rw‟ to others and „rwx‟to group for thefile launcher.
A. chmod 176 launcher
B. chmod 671 launcher
C. chmod 167 launcher
D. chmod 166 launcher
Ans. c

16. ______ helps capable users to improve and bug fix the software.
(a) open source software
(b) closed source software
(c) virus software
(d) hacked software
Ans. a

17. _______ model of software helps developers across the world to cooperate in development ofsoftware.
(a) open source software
(b) closed source software
(c) virus software
(d) hacked software
Ans. a

18. An example of the most popular opensource software is ______ .
(a) Mozilla Firefox browser, GIMP image editor,QC drafting tool, Blender 3D modeling software
(b) Linux operating system
(c) Open office, Libre Office, KOffice, gnumeric,AbiWord, Scribus
(d) all of them
Ans. d

19. _____ are some of the opensource licensing models.
(a) GNU GPL/ GNU LGPL
(b) Apache lincense
(c) BSD/ MIT/ Eclipse/ Mozilla license
(d) all of them
Ans. d

20. GNU GPL stands for ______.
(a) GNU General Public License
(b) GNU Lesser General Public License
(c) GNU Not Unix
(d) GNU Image Manipulation Programme
Ans. a

21. GNU LGPL stands for _______ and it permits embedding open source libraries in closedsource projects.
(a) GNU General Public License
(b) GNU Lesser General Public License
(c) GNU Not Unix
(d) GNU Image Manipulation Programme
Ans. b

22. GNU stands for ______ .
(a) GNU General Public License
(b) GNU Lesser General Public License
(c) GNU Not Unix
(d) GNU Image Manipulation Programme
Ans. c

23. GIMP stands for _______.
(a) GNU General Public License
(b) GNU Lesser General Public License
(c) GNU Not Unix
(d) GNU Image Manipulation Programme
Ans. d

24. ______ founded the GNU projectto create an alternative to UNIX operating system fromscratch.
(a) Richard Stallman
(b) Linus Torvalds
(c) Dennis Ritchie
(d) Brian Kernighan
Ans. a

25. The software which helps the user tocommunicate with the kernel of Linuxoperating system iscalled_______ .
(a) kernel
(b) shell
(c) neither a nor b
(d) both a and b
Ans. b

26. The Linux shell having features similar to the C-Programming language iscalled______.
(a) Bourne Again Shell
(b) C-Shell
(c) Korn-shell
(d) none of them
Ans. b

27. _______ shell was released by AT&Tas an improvement to the Bourne shell
(a) Bourne Again SHell
(b) C-Shell
(c) Korn-shell
(d) none of them
Ans. c

28. The command cshin Linux opens _____shell.
(a) Bourne Again SHell
(b) C-Shell
(c) Korn-shell
(d) none of them
Ans. b

29. The command kshin Linux opens ______shell.
(a) Bourne Again SHell
(b) C-Shell
(c) Korn-shell
(d) none of them
Ans. c

30. Any shell script begins with the line______to denote the name of theshell to be used forinterpretation.
(a) #!/bin/sh
(b) #!/bin/csh
(c) #!/bin/ksh
(d) any one of them
Ans. d

31. To display the list of files and directories, _____Linux command is used.
(a) ls
(b) chmod
(c) mkdir
(d) rmdir
Ans. a

32. Linux command removes given directory.
(a) ls
(b) chmod
(c) mkdir
(d) rmdir
Ans. d

33. _____ Linux command changes the access mode of a file.
(a) pwd
(b) chmod
(c) mkdir
(d) rmdir
Ans. b

34. The numeric value of read permission is_______
(a) 4
(b) 2
(c) 1
(d) 0
Ans. a

35. The numeric value of write permission is ______.
(a) 4
(b) 2
(c) 1
(d) 0
Ans. b

36. In Linux, the numeric value of execute permission is_____ .
(a) 4
(b) 2
(c) 1
(d) 0
Ans. c

37. In Linux, a file having read and write permissions would have a numeric value of _____ asargument to chmod.
(a) 6
(b) 7
(c) 4
(d) 5
Ans. a

38. In Linux, a file having read only permissions would have a numeric value of as _____argument to chmod.
(a) 6
(b) 7
(c) 4
(d) 5
Ans. c

39. In Linux, a file having read, write and execute permissions would have a numeric value of ________ as argument to chmod.
(a) 6
(b) 7
(c) 4
(d) 5
Ans. b

40. In Linux, a file having read and execute permissions would have a numeric value of _____ asargument to chmod.
(a) 6
(b) 7
(c) 4
(d) 5
Ans. d

41. In Linux, access permission meant for _______.
(a) user
(b) group
(c) world d) all of them
Ans. d

42. In Linux, first value of permission provided to chmod command is meant for______.
(a) user
(b) group
(c) world
(d) all of them
Ans. a

43. In Linux, second value of permission provided to chmod command is meant for_____.
(a) user
(b) group
(c) world
(d) all of them
Ans. b

44. In Linux, third value of permission provided to chmod command is meant for ______.
(a) user
(b) group
(c) world
(d) all of them
Ans. c

45. Any person unrelated to the current user or the group of the current user is treated with ________ permissions.
(a) user
(b) group
(c) world
(d) all of them
Ans. c

46. ________Linux command creates a copy of given file in new name.
(a) cp
(b) ln
(c) mv
(d) cd
Ans. a

47. Linux command creates a link to the current file (not a full copy of the file).
(a) cp
(b) ln
(c) mv
(d) cd
Ans. b

48. ______ Linux command deletes the source file and creates copy of the source file in a newname.
(a) cp
(b) ln
(c) mv
(d) cd
Ans. c

49. _____ Linux command helpsuser to change current working directory.
(a) cp
(b) ln
(c) mv
(d) cd
Ans. d

50. ______ Linux command displaysfull path of the current directory.
(a) cp
(b) pwd
(c) mv
(d) cd
Ans. b

51. In Linux, the character :denotes ______directory.
(a) current
(b) parent
(c) home
(d) root
Ans. a

52. In Linux, the characters :: denote ______directory.
(a) current
(b) parent
(c) home
(d) root
Ans. b

53. In Linux, the character denotes ______directory.
(a) current
(b) parent
(c) home
(d) root
Ans. c

54. In Linux, the character = denotes ______directory.
(a) current
(b) parent
(c) home
(d) root
Ans. d

55. In Linux, ______ command is used to mount a new file system.
(a) eject
(b) mount
(c) umount
(d) shutdown
Ans. b

56. In Linux, _____ command is used to unmount a new file system.
(a) eject
(b) mount
(c) umount
(d) shutdown
Ans. c

57. In Linux, ________command ejectsremovable media drive like CD/DVDdrive.
(a) eject
(b) mount
(c) umount
(d) shutdown
Ans. a

58. In Linux, ______ command shouldbe run as root user to shutdown thecomputer.
(a) eject
(b) mount
(c) umount
(d) shutdown
Ans. d

59. ______ Linux command sorts theinput.
(a) reboots
(b) halts
(c) sleep
(d) sort
Ans. d

60. _____ Linux command makes theshell to stop processing for specified duration.
(a) reboots
(b) halts
(c) sleep
(d) sort
Ans. c

61. ______ Linux command creates a single archive from specified files and directories.
(a) tar
(b) zip
(c) gzip
(d) ls –l
Ans. a

62. _____ Linux command creates zip file using given source file.
(a) tar
(b) zip
(c) gzip
(d) ls –l
Ans. b

63. _____ Linux command createsgzip file using given source file.
(a) tar
(b) zip
(c) gzip
(d) ls –l
Ans. c

64. ______Linux command displays full information about files and directories.
(a) tar
(b) zip
(c) gzip
(d) ls –l
Ans. d

65. ______ Linux command unzips a zip file.
(a) tar
(b) unzip
(c) gunzip
(d) ls –l
Ans. b

66. ______ Linux command unpacks a gzip file.
(a) tar
(b) unzip
(c) gunzip
(d) ls –l
Ans. c

67. ______Linux command displays the output of program in readable chunks.
(a) more
(b) less
(c) both a & b
(d) neither a nor b
Ans. c

68. ______ Linux command searches for a given file and optionally executes given command onthat file.
(a) banner
(b) find
(c) rm
(d) cat
Ans. b

69. ______ Linux command removes given file.
(a) banner
(b) find
(c) rm
(d) cat
Ans. c

70. ______ Linux command creates a large banner out of given text.
(a) banner
(b) find
(c) rm
(d) cat
Ans. a

71. ______ Linux command displays contents of text file on screen.
(a) banner
(b) find
(c) rm
(d) cat
Ans. d

72. In Linux, ______ command displays the current date and time.
(a) time
(b) date
(c) cat
(d) man
Ans. b

73. In Linux, ______ command displays help about given command (manual page).
(a) time
(b) date
(c) cat
(d) man
Ans. d

74. In Linux, ______ command displays time taken by a process to complete.
(a) time
(b) date
(c) cat
(d) man
Ans. a

75. In Linux,______ command invokes text editors.
(a) vi/vim
(b) emacs
(c) gedit/nedit
(d) all of them
Ans. d

76. In Linux, ______ command compiles a C-language file to binary output.
(a) cc
(b) useradd
(c) userdel
(d) passwd
Ans. a

77. In Linux, ______command adds a new user.
(a) cc b) useradd
(c) userdel
(d) passwd
Ans. b

78. In Linux, ______ command deletes a new user.
(a) cc
(b) useradd
(c) userdel
(d) passwd
Ans. c

79. In Linux, _____ command changes password for given user.
(a) cc
(b) useradd
(c) userdel d) passwd
Ans. d

80. In Linux, ______ command takes user to super user mode.
(a) su
(b) cal
(c) bc
(d) cron
Ans. a

81. In Linux,______ command helps a normal user to execute given command with rootprivileges.
(a) sudo
(b) cal
(c) bc
(d) cron
Ans. a

82. In Linux, ______ command displays calendar.
(a) sudo
(b) cal
(c) bc
(d) cron
Ans. b

83. In Linux, _____ command displays binary calculator in the terminal.
(a) sudo
(b) cal
(c) bc
(d) cron
Ans. c

84. In Linux, _____command executes jobs at scheduled timing.
(a) sudo
(b) cal
(c) bc
(d) cron
Ans. d

85. In Linux, ______ is a text filter.
(a) sed
(b) awk
(c) perl
(d) all of them
Ans. d

86. In Linux,________ command searches the path and displays location of a given file.
(a) which
(b) file
(c) tr
(d) chown
Ans. a

87. In Linux, _______ command displays the type of given file.
(a) which
(b) file
(c) tr
(d) chown
Ans. b

88. In Linux, _____command translates given input characters to specified equivalent characters.
(a) which
(b) file
(c) tr
(d) chown
Ans. c

89. In Linux, ______ command changes ownership of a file to specified owner and group.
(a) which
(b) file
(c) tr
(d) chown
Ans. d

90. In Linux,_______ command changes ownership of a file to specified owner and group.
(a) which
(b) file
(c) tr
(d) chown
Ans. d

91. In Linux, _______ command creates group having specified name.
(a) groupadd
(b) groupdel
(c) grep
(d) test
Ans. a

92. In Linux, ______ command deletes specified group.
(a) groupadd
(b) groupdel
(c) grep
(d) test
Ans. b

93. In Linux,_______ command catches given string from the input lines or specified files.
(a) groupadd
(b) groupdel
(c) grep
(d) test
Ans. c

94. In Linux,_______ command tests whether given condition is true or false.
(a) groupadd
(b) groupdel
(c) grep
(d) test
Ans. d

95. In Linux, _______command helps to make decisions.
(a) if ; then ... fi
(b) if ; then... elif .. fi
(c) both a & b
(d) neither a nor b
Ans. c

96. In Linux, ________ command helps create looping.
(a) for
(b) while
(c) both a & b
(d) neither a nor b
Ans. c

97. In Linux, ______ command displays tree structure of all files and directories.
(a) tree b) c++
(c) export
(d) clear Ans. A98. In Linux, ______ command clears the display.
(a) tree
(b) c++
(c) export
(d) clear
Ans. d

99. In Linux, _______ command compiles C++ source file to binary executable file.
(a) tree
(b) c++
(c) export
(d) clear
Ans. b

100. In Linux, _______command exports given value to the shell environment.
(a) tree
(b) c++
(c) export
(d) clear
Ans. c

101. In Linux, ______ command exports displays the list of currently running processes.
(a) tree
(b) ps
(c) kill
(d) clear
Ans. b

102. Which format of partition tables does Linux use? Ans. DOS103. Any # character in Linux______.
(a) starts a comment, ignored by shell script
(b) matches all characters
(c) matches any single character
(d) sends output to a new file
Ans. a

104. The * character in Linux ______ .
(a) starts a comment, ignored by shell script
(b) matches all characters
(c) matches any single character
(d) sends output to a new file
Ans. b

105. The ?character in Linux _____.
(a) starts a comment, ignored by shell script
(b) matches all characters
(c) matches any single character
(d) sends output to a new file
Ans. c

106. The >character in Linux _______ .
(a) starts a comment, ignored by shell script
(b) matches all characters
(c) matches any single character
(d) sends output to a new file
Ans. d

107. The >>character in Linux .
(a) starts a comment, ignored by shell script
(b) matches all characters
(c) matches any single character
(d) appends output to a file
Ans. d

108. The |character in Linux .______
(a) sends output of left side program to the input of right side program
(b) matches all characters
(c) matches any single character
(d) appends output to a file
Ans. a

109. The $?character in Linux ______ .
(a) stores exit status of previous command
(b) matches all characters
(c) matches any single character
(d) appends output to a file
Ans. a

110. The &character placed at the end of command line in Linux ______.
(a) stores exit status of previous command
(b) matches all characters
(c) sends to process to the background
(d) appends output to a file
Ans. c

111. The -character in Linux_____ .
(a) stores exit status of previous command
(b) denotes standard input
(c) sends to process to the background
(d) appends output to a file
Ans. b

112. The ~ character in Linux ______
(a) denotes home directory
(b) denotes standard input
(c) sends to process to the background
(d) appends output to a file
Ans. a

113. The !sequence in Linux________ .
(a) tests the enclosed condition
(b) denotes standard input
(c) negates given condition
(d) appends output to a file
Ans. c

114. The &&sequence in Linux ______.
(a) tests the enclosed condition
(b) denotes standard input
(c) runs the right side process only if the left side process fails
(d) runs the right side process only if the left side process succeeds
Ans. d

115. The ||sequence in Linux ______
(a) tests the enclosed condition
(b) denotes standard input
(c) runs the right side process only if the left side process fails
(d) runs the right side process only if the left side process succeeds
Ans. c

116. What are the appropriate Hex codes for setting Linux swap and Linux native partition types infdisk? 
Ans. 82 and 83

117. LILO
(a). stands for Linux loader
(b) is the Linux boot loader
(c) is a tool used to boot the Kernel on x86 hardware
(d) All of the above
Ans. d

118. What can be used to set up a firewall on a Linux system? 
Ans. ipchains

119. Which program is used to automatically install Red Mat Linux on identical hardware? 
Ans. mkkickstart

120. What command do you use to add routes to a Linux router? 
Ans. route

1. Any software (paid or free), for which source code is available is called_____.
(a) open source software
(b) free software
(c) virus software
(d) hacked software 

2.______ created and released Linux operating system.
(a) Richard Stallman
(b) Linus Torvalds
(c) Dennis Ritchie
(d) Brian Kernighan

3. Linux operating system was released in the year______ .
(a) 1969
(b) 1972
(c) 1981
(d) 1991

4. The core of the Linux operating system, which manages files, peripherals and other resources,is called _______ .
(a) kernel
(b) shell
(c) neither a nor b
(d) both a and b 

 5. Bash in Linux shell stands for ______.
(a) Bourne Again SHell
(b) C-Shell
(c) Korn-shell
(d) none of them

6. The interface of Linux operating system is_____
(a) CUI 
(b) GUI

7. Is Linux commands are case-sensitive.
(a) Yes 
(b) No

8. LILO stands for_____
(a) Linux loader 
(b) Last input last output

9. Which of the following command can be used to rename a file in UNIX?
(a) ren 
(b) mv 
(c) remove 
(d) change

10. In Linux,______ command terminates a process with given process id.
(a) tree
(b) ps
(c) kill
(d) clear

    नमस्कार दोस्तों 🙏 , स्वागत हैं आपका हमारी वेबसाइट "ज्ञान और शिक्षा" में |

    Add Your Article :- 

    Subscribe Youtube Channel Click Here
    Join Telegram Channel Click Here
    Thank You
    for any further Information Please Comment.
    (किसी भी अन्य जानकारी के लिए, कृपया कमेंट जरूर करें |)

    No comments

    Give your valuable comments. Your Comments is very important for us. ❤ Thank You..❤