wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DAY3 QUIZ

Total questions: 5

Worksheet time: 4mins

Name
Class
Date
1.

다음 중 Bash Shell Script의 첫번째 줄에 반드시 있어야 하는 것은?

a)

#!/bin/sh

b)

#!/bin/ksh

c)

#!/bin/bash

d)

#!/bin/csh

2.

다음 중 Script를 Sourcing하는 방법은 무엇인가? (2개 선택)

a)

source ./script

b)

. ./script

c)

sh script

d)

sh -x script

3.

다음 Sctipt의 결과를 true 또는 false로 답하시오. (true or false)

test 6 -gt 55 && echo true || echo false

(a)  

4.

다음 Script중 동일한 결과가 나오는 Script를 2개 선택하시오 (2개 선택)

a)
b)
c)
d)
5.

왼쪽 Shell Script에서 입력 변수로 "bird"를 type했을

경우, 어떤 문장이 출력 되는가?

a)

You better start running fast!

b)

Don't worry, give it a cookie.

c)

You discovered an unknown animal, name it!

d)

Let the mouse go...