Question: STION 9 Changes which then parent makes to the environment after the child is created, do not effect the child's environment. True False 2 points
STION 9
Changes which then parent makes to the environment after the child is created, do not effect the child's environment.
True
False
2 points
QUESTION 10
Given the scripts inner and outer that are both executable and exist in the same directory.
The script inner:
#!/bin/sh echo $# exit
The script outer:
#!/bin/sh
./inner $* ./inner $@ ./inner "$*" ./inner "$@" exit
and the command line
./outer " " A
which of the following statements are true? There is a space between the double quotes.
| a. | The value of $# in outer is 2 | |
| b. | The value of $# in outer is 1 | |
| c. | The value of $# in inner when called from outer with the argument $* is 1 | |
| d. | A & B | |
| e. | A & C |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
