Online Shell Test

10 Questions | Attempts: 118
Share
SettingsSettings
Please wait...
  • 1/10 Questions

    Shell scripting can help create complex programs containing 

    • Conditional Statements
    • Loops
    • Functions
    • All of the above
Please wait...
About This 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!

Online Shell Test - Quiz

Quiz Preview

  • 2. 

    The first step to launch a Virtual terminal is

    • Press Ctrl+Alt+F1

    • Press Ctrl+Alt+F2

    • Press Ctrl+Alt+F3

    • Press Ctrl+Alt+F4

    Correct Answer
    A. Press Ctrl+Alt+F1
  • 3. 

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

    • End or Ctrl + e

    • Home or Ctrl + a

    • Ctrl + u

    • Ctrl + w

    Correct Answer
    A. Home or Ctrl + a
  • 4. 

    There are how many main types of Shell in LINUS? 

    • 1

    • 2

    • 3

    • 4

    Correct Answer
    A. 2
  • 5. 

    Comment lines start with 

    • *

    • #

    • //

    • !

    Correct Answer
    A. #
  • 6. 

    The following are true of the basic operators except 

    • A + b addition (a plus b)

    • A - b substraction (a minus b)

    • A * b multiplication (a times b)

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

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

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

    • 6

    • 4

    • 8

    • 5

    Correct Answer
    A. 6
  • 8. 

    The sign #! is called

    • Prompt

    • Bash

    • She-bang

    • He-bang

    Correct Answer
    A. She-bang
  • 9. 

    What's the prompt for The C Shell?

    • *

    • #

    • %

    • $

    Correct Answer
    A. %
  • 10. 

    Which of the following linux user management commands disables a user?

    • Sudo deluser USER GROUPNAME

    • Sudo userdel -r 'username

    • Sudo adduser username

    • Sudo passwd -l 'username

    Correct Answer
    A. Sudo passwd -l 'username

Quiz Review Timeline (Updated): Mar 16, 2018 +

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
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.