Introduction To Solaris - Lesson 3

8 Questions | Total Attempts: 50

SettingsSettingsSettings
Please wait...
Lesson Quizzes & Trivia

Test your lesson 3 knowledge


Questions and Answers
  • 1. 
    How many kinds of expansion exist in the shell?
    • A. 

      5

    • B. 

      6

    • C. 

      7

    • D. 

      8

    • E. 

      42

  • 2. 
    What output would you expect to get from the command: echo "$TERM"
    • A. 

      $TERM

    • B. 

      /bin/bash

    • C. 

      Xterm

    • D. 

      4 years

  • 3. 
    What output would you expect to get from the command: echo '$TERM'
    • A. 

      $TERM

    • B. 

      /bin/bash

    • C. 

      Xterm

    • D. 

      4 years

  • 4. 
    What is file descriptor number for stdin?
    • A. 

      0

    • B. 

      1

    • C. 

      2

    • D. 

      3

  • 5. 
    What is file descriptor number for stdout?
    • A. 

      0

    • B. 

      1

    • C. 

      2

    • D. 

      3

  • 6. 
    What is the file descriptor number for stderr?
    • A. 

      0

    • B. 

      1

    • C. 

      2

    • D. 

      3

  • 7. 
    Which of the following would combine stdout and stderr into one stream?
    • A. 

      1&>2

    • B. 

      2>&1

    • C. 

    • D. 

      >>

  • 8. 
    What is the first line of a shell or perl script called?
    • A. 

      Hebang

    • B. 

      Shebang

    • C. 

      Shakira

    • D. 

      Clobber

Back to Top Back to top