forked from root/public
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.8 KiB
62 lines
1.8 KiB
3 years ago
|
#### General
|
||
|
|
||
|
###### Was the project written in a compiled programming language?
|
||
|
|
||
|
###### Was the student script created?
|
||
|
|
||
|
#### Functional
|
||
|
|
||
|
##### Try to run the command `"bash create-dir.sh"` in your computer terminal and create the directory "Example".
|
||
|
|
||
|
```
|
||
|
Enter directory name
|
||
|
Example
|
||
|
Directory created
|
||
|
```
|
||
|
|
||
|
###### Can you confirm that the script is valid and the directory "Example" was created like the example above?
|
||
|
|
||
|
##### Try to run the command `"bash create-dir.sh"` in the `0-shell` interpreter and create the directory "Example1".
|
||
|
|
||
|
```
|
||
|
Enter directory name
|
||
|
Example1
|
||
|
Directory created
|
||
|
```
|
||
|
|
||
|
###### Can you confirm that the script is valid and the directory "Example1" was created like the example above?
|
||
|
|
||
|
##### Try to run the command `"bash create-dir.sh"` in the `0-shell` interpreter and create the directory with the same name as before "Example1".
|
||
|
|
||
|
```
|
||
|
Enter directory name
|
||
|
Example1
|
||
|
Directory exist
|
||
|
```
|
||
|
|
||
|
###### Can you confirm that the script is valid and the directory "Example1" was not created because it already exists like the example above?
|
||
|
|
||
|
##### Try to run the command `"NAME="Alex""` followed by the command `"echo "Hello $NAME!""` in the `0-shell` interpreter.
|
||
|
|
||
|
```
|
||
|
Hello Alex!
|
||
|
```
|
||
|
|
||
|
###### Can you confirm that the script was validated and the project displayed the message as the example above?
|
||
|
|
||
|
##### Try to run the command `"for ((i = 0 ; i < 5 ; i++)); do echo $i; done"` followed by the command `"echo "Hello $NAME!""` in the `0-shell` interpreter.
|
||
|
|
||
|
```
|
||
|
0
|
||
|
1
|
||
|
2
|
||
|
3
|
||
|
4
|
||
|
```
|
||
|
|
||
|
###### Can you confirm that the script was validated and the project displayed the message as the example above?
|
||
|
|
||
|
##### Try to run the command `"echo "I'm in $(pwd)""` in the `0-shell` interpreter. Do the same in your computer terminal in the same folder.
|
||
|
|
||
|
###### Can you confirm that the script was validated and the project displayed the same message in both terminals?
|