Online Shell Test

10 Questions | Total Attempts: 116

SettingsSettingsSettings
Please wait...
Online Shell Test

A shell script has originally been designed to be run by the UNIX shell How can you prove that you are confident in the knowledge you have in Shell? Take this quiz now. Good Luck!


Questions and Answers
  • 1. 
    There are how many main types of Shell in LINUS? 
    • A. 

      1

    • B. 

      2

    • C. 

      3

    • D. 

      4

  • 2. 
    What's the prompt for The C Shell?
    • A. 

      *

    • B. 

      #

    • C. 

      %

    • D. 

      $

  • 3. 
    Shell scripting can help create complex programs containing 
    • A. 

      Conditional Statements

    • B. 

      Loops

    • C. 

      Functions

    • D. 

      All of the above

  • 4. 
    The first step to launch a Virtual terminal is
    • A. 

      Press Ctrl+Alt+F1

    • B. 

      Press Ctrl+Alt+F2

    • C. 

      Press Ctrl+Alt+F3

    • D. 

      Press Ctrl+Alt+F4

  • 5. 
    While working with Virtual terminal, which of the following shortcuts is used to move the cursor to the start of the current line?
    • A. 

      End or Ctrl + e

    • B. 

      Home or Ctrl + a

    • C. 

      Ctrl + u

    • D. 

      Ctrl + w

  • 6. 
    There are how many virtual terminals which can be launched using the shortcut keys? 
    • A. 

      6

    • B. 

      4

    • C. 

      8

    • D. 

      5

  • 7. 
    Which of the following linux user management commands disables a user?
    • A. 

      Sudo deluser USER GROUPNAME

    • B. 

      Sudo userdel -r 'username

    • C. 

      Sudo adduser username

    • D. 

      Sudo passwd -l 'username

  • 8. 
    The sign #! is called
    • A. 

      Prompt

    • B. 

      Bash

    • C. 

      She-bang

    • D. 

      He-bang

  • 9. 
    Comment lines start with 
    • A. 

      *

    • B. 

      #

    • C. 

      //

    • D. 

      !

  • 10. 
    The following are true of the basic operators except 
    • A. 

      A + b addition (a plus b)

    • B. 

      A - b substraction (a minus b)

    • C. 

      A * b multiplication (a times b)

    • D. 

      A % b division (integer) (a divided by b)