From 2703279bef7216aacee6c81a6b320f19755772e2 Mon Sep 17 00:00:00 2001 From: shazversi Date: Sun, 1 Feb 2026 12:08:37 -0500 Subject: [PATCH 1/3] 5a Added name --- 01-read_inputCOPY.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 01-read_inputCOPY.sh 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" + From b3c8e0b9b5d2cfec6a1d2a57b4d4975bca3cb361 Mon Sep 17 00:00:00 2001 From: shazversi Date: Sun, 1 Feb 2026 13:03:06 -0500 Subject: [PATCH 2/3] new branch --- 04-life.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/04-life.sh b/04-life.sh index 537da386..5c5b334b 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 \ No newline at end of file From 9b93c963e65d8c654dfe9b3136c86a522bf19569 Mon Sep 17 00:00:00 2001 From: shazversi Date: Sun, 1 Feb 2026 17:40:41 -0500 Subject: [PATCH 3/3] edit on parallel --- 04-life.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/04-life.sh b/04-life.sh index 5c5b334b..c35ae317 100644 --- a/04-life.sh +++ b/04-life.sh @@ -19,7 +19,7 @@ echo "What time is it (hour 0-24)" read hour if [ "$hour" -ge 5] && [ "$hour" -lt 12]; then - echo "what a great morning" + echo "Its morning!!!!" else - echo "its not morning!!" + echo "its not morning" fi \ No newline at end of file