checks for layout

This commit is contained in:
waldek 2021-04-10 14:07:05 +02:00
parent 1bf0caa082
commit 5912945ed0
1 changed files with 33 additions and 30 deletions

View File

@ -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