HIDE
FALSE

Search This Blog

Linux MCQ Questions and answers [PDF]

Linux MCQ Questions and Answers PDF Linux MCQ questions and answers of OS, commands, operating system for interview, viva and exams objectiv...

Linux MCQ Questions and Answers PDF

Linux MCQ questions and answers of OS, commands, operating system for interview, viva and exams objective and multiple choice questions basic to advance for beginners with pdf Download link of google drive


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 the file 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 of software.

(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,QCAD 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 closed source 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 from scratch.

(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 is called_______ .

(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 for interpretation.

(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 _____ as argument 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 _____ as argument to chmod.

(a) 6                

(b) 7

(c) 4                

(d) 5

Ans. d


PDF Download here


Computer Fundamentals MCQ PDF