diff --git a/01-read_input.sh b/01-read_input.sh new file mode 100644 index 00000000..29fdd699 --- /dev/null +++ b/01-read_input.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# read the name of the user and print hello + +echo "Hi there! Please tell me your full name:" +read name +echo "It's nice to meet you, $name" + +# single quotes prevent the expansion of the variable +echo 'What city do you live in?' +read city +echo "$city sounds like a wonderful place!" + + +# exercise: write a script that asks the user for a +# filename and create an empty file named after it diff --git a/Ademola_Akiwowo/my_name.sh b/Ademola_Akiwowo/my_name.sh new file mode 100644 index 00000000..c1499267 --- /dev/null +++ b/Ademola_Akiwowo/my_name.sh @@ -0,0 +1 @@ +echo "Hello from Ademola Akiwowo!" diff --git a/after-merge-graph.png b/after-merge-graph.png new file mode 100644 index 00000000..f8c36170 Binary files /dev/null and b/after-merge-graph.png differ diff --git a/two-branches-graph.png b/two-branches-graph.png new file mode 100644 index 00000000..c8be00ae Binary files /dev/null and b/two-branches-graph.png differ