Module 7 Lab Simulations Flashcards

1
Q

The | (pipe) metacharacter take the stdout of a command and sends it to another command as _________. Enter your answer in the space provided.

A

input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False? When using the output redirect > on an existing, the contents of the file will be replaced.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The if decision construct will always end with the statement __________.

A

fi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When using two output redirects,&raquo_space;, on an existing file, the file contents will be ___________.

A

appended

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

We asked the user to enter a positive or negative number and used 4 as an example Given what you know about the script, the number 5 would be classified as a _______ number.

A

positive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly