diff --git a/01-read_inputCOPY.sh b/01-read_inputCOPY.sh new file mode 100644 index 00000000..9aacaee9 --- /dev/null +++ b/01-read_inputCOPY.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# read the name of the user and print hello + +echo "Hello! My name is Shazmin" + diff --git a/04-life.sh b/04-life.sh index 537da386..7fb4d065 100644 --- a/04-life.sh +++ b/04-life.sh @@ -14,3 +14,12 @@ fi # exercise: write a script that prints whether it is # morning or not + +echo "What time is it (hour 0-24)" +read hour + +if [ "$hour" -ge 5 ] && [ "$hour" -lt 12 ]; then + echo "what a great morning" +else + echo "its not morning!!" +fi diff --git a/netgraph1.PNG b/netgraph1.PNG new file mode 100644 index 00000000..abb73f29 Binary files /dev/null and b/netgraph1.PNG differ diff --git a/netgraph2after.PNG b/netgraph2after.PNG new file mode 100644 index 00000000..5ca3f60d Binary files /dev/null and b/netgraph2after.PNG differ