Online Shell Test

10 Questions | Attempts: 118
Share

SettingsSettingsSettings
Online Shell Test - Quiz

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

    Correct Answer
    B. 2
  • 2. 

    What's the prompt for The C Shell?

    • A.

      *

    • B.

      #

    • C.

      %

    • D.

      $

    Correct Answer
    C. %
  • 3. 

    Shell scripting can help create complex programs containing 

    • A.

      Conditional Statements

    • B.

      Loops

    • C.

      Functions

    • D.

      All of the above

    Correct Answer
    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

    Correct Answer
    A. Press Ctrl+Alt+F1
  • 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

    Correct Answer
    B. Home or Ctrl + a
  • 6. 

    There are how many virtual terminals which can be launched using the shortcut keys? 

    • A.

      6

    • B.

      4

    • C.

      8

    • D.

      5

    Correct Answer
    A. 6
  • 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

    Correct Answer
    D. Sudo passwd -l 'username
  • 8. 

    The sign #! is called

    • A.

      Prompt

    • B.

      Bash

    • C.

      She-bang

    • D.

      He-bang

    Correct Answer
    C. She-bang
  • 9. 

    Comment lines start with 

    • A.

      *

    • B.

      #

    • C.

      //

    • D.

      !

    Correct Answer
    B. #
  • 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)

    Correct Answer
    D. A % b division (integer) (a divided by b)

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 16, 2018
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 27, 2018
    Quiz Created by
    Stephanie Young

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.