Skip to main content

LINUX MCQ Test 

Que.1. Which of the following below are true functionalities of shell?
A.    Authenticates user
B.    Interprets commands
C.    Allocates time and memory to programs
D.    Only a and b

Right Answer: B

Que.2. A process can run only in the background
A.    True
B.    False

Right Answer: B

Que.3. Which of the following below are true functionalities of Kernel?
A.    Allocates time and memory to programs
B.    Authenticates user
C.    Interprets commands
D.    All choices are correct

Right Answer: A

Que.4. To implement new application on IBM z/10. Which of the following options need to be considered if it to be implemented in Linux?
A.    IBMz/OS outperforms Red Hat Linux in commercial workloads
B.    IBMz/OS is more expensive, Linux is shareware
C.    Red Hat Linux does not support all devices supported by IBMz/OS   
D.    z/OS is supported by IBM SupportLine, whereas Red Hat Linux can only be supported by Red Hat

Right Answer: C

Que.5. A process is identified by a unique
A.    Pid
B.    Id
C.    processed
D.    proid

Right Answer: A

Que.6. Which command reduces the size of a file?
A.    pzip
B.    gcat
C.    pgcat
D.    gzip

Right Answer: D

Que.7. Which of the following has greater market share of Linux SW/HW
A.    Linux on z10
B.    Linux HP integrity server
C.    Linux on AS/400 servers locate
D.    Linux on DELL  Xeon

Right Answer: A

Que.8.  Which of the following is the BEST way to set up SSH(Secure Shell) for communicating between System without needing passwords?
A.    Use ssh-keygen for generating public-private keys.
B.    Disable passwords on specific accounts that will use SSH.
C.    Both A and B
D.    None of the above

Right Answer: A

Que.9. Which of the following commands can be run to remove all the rules in an iptable table?
A.    iptable-L
B.    iptable-A
C.    iptable-F
D.    iptable-delete

Right Answer: C

Que.10. Which command is used to see the online manual?
A.    Man
B.    manual
C.    *man
D.    %man

Right Answer: A

Que.11. The head command writes the first ____________ lines of a file to screen.
A.    Five
B.    Twenty
C.    Ten
D.    Fifteen

Right Answer: C

Que.12. Which command is used to clear the screen?
A.    % clear
B.    clear
C.    clrscr
D.    either a or c

Right Answer: B

Que.13. Which command is used to find what is in your home directory?
A.    % List
B.    % Is
C.    % home
D.    Either a or c

Right Answer: B

Que.14. Pipe symbol is represented by
A.    ||
B.    |
C.    ^
D.    $

Right Answer: B

Que.15.  What is the shortcut to the login directory?
A.    shift+cd
B.    cd+enter key
C.    alt+ctrl+cd
D.    ctrl+cd

Right Answer: B

Que.16. What is used to search files for specified words or patterns?
A.    Less
B.    Srch
C.    %src
D.    Grep

Right Answer: D

Que.17.  cd home to get back to your home-directory?
A.    True
B.    False

Right Answer: B

Que.18. > symbol is used to redirect the output of a command
A.    True
B.    False

Right Answer: A

Que.19. Which character is used to match exactly one character?
A.    |
B.    *
C.    ^
D.    ?

Right Answer: D
Que.20. The hierarchy of a series of directories branching in a user system starts from
A.    home
B.    root
C.    /home
D.    /root

Right Answer: C




Comments