diff --git a/04-life.sh b/04-life.sh index 537da38..f407366 100644 --- a/04-life.sh +++ b/04-life.sh @@ -1,8 +1,6 @@ - echo "What is the meaning of life?" read meaning - if [ "$meaning" -eq 42 ]; then echo "Yes!, That is the meaning of life!" else @@ -14,3 +12,11 @@ fi # exercise: write a script that prints whether it is # morning or not + +hour=$(date +%H) + +if [ "$hour" -lt 12 ]; then + echo "Good morning" +else + echo "Good afternoon or evening" +fi \ No newline at end of file diff --git a/2-branch network screenshot.png b/2-branch network screenshot.png new file mode 100644 index 0000000..4ef8138 Binary files /dev/null and b/2-branch network screenshot.png differ diff --git a/jose.sh b/jose.sh new file mode 100644 index 0000000..3cdfa69 --- /dev/null +++ b/jose.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo "Hello! Jose Munoz Suastegui" \ No newline at end of file diff --git a/merge proof.png b/merge proof.png new file mode 100644 index 0000000..b112f2d Binary files /dev/null and b/merge proof.png differ