From 1b5a8e3ce54a2d4bf745be8608e1fe6bcce81ac2 Mon Sep 17 00:00:00 2001 From: dee-mee Date: Mon, 1 Apr 2024 16:42:25 +0300 Subject: [PATCH] My third script --- script3.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 script3.sh diff --git a/script3.sh b/script3.sh new file mode 100755 index 0000000..6a09fa3 --- /dev/null +++ b/script3.sh @@ -0,0 +1,11 @@ +#!/bin/bash +#This is just a simple example of an interactive script + +echo "" +echo "Hey. What's your first name?" +read a +echo "Thankyou Mr./Mrs. $a Please give us your second name?" +read b +echo "Thank you very much Mr./Mrs. $a $b for your second name." +echo "****************" +echo "Hello again Mr./Mrs. $a $b, it's time to say goodbye."