checks for layout
This commit is contained in:
parent
1bf0caa082
commit
5912945ed0
|
@ -125,6 +125,7 @@ fi
|
|||
## Guided Exercises
|
||||
|
||||
1. Read the contents of script1.sh below:
|
||||
|
||||
```
|
||||
#!/bin/bash
|
||||
|
||||
|
@ -144,7 +145,9 @@ fi
|
|||
echo "here's your cake!"
|
||||
exit 0
|
||||
```
|
||||
|
||||
* What is the output of these commands?
|
||||
|
||||
```
|
||||
./script1.sh
|
||||
echo $?
|
||||
|
@ -152,8 +155,8 @@ echo $?
|
|||
echo $?
|
||||
./script1.sh CAKE
|
||||
echo $?
|
||||
|
||||
```
|
||||
|
||||
2. Read the contents of file script2.sh:
|
||||
```
|
||||
for filename in $1/*.txt
|
||||
|
|
Loading…
Reference in New Issue