diff --git a/01-changed_read_input.sh b/01-changed_read_input.sh new file mode 100644 index 00000000..b107e280 --- /dev/null +++ b/01-changed_read_input.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# read the name of the user and print hello + +echo "Hello! What is your name? My name is Alex Shaklee" +read name +echo "Welcome, $name" + +# single quotes prevent the expansion of the variable +echo 'Your name was stored in $name' + +# exercise: write a script that asks the user for a +# filename and create an empty file named after it + +#Alex Shaklee's changes from software dev 2 +echo "Here is my change! The rest of the changes were from software dev 1!" + +#Alex Shaklee's changes from software dev 1 +echo "Enter a name for the new file" +read newFile +touch $newFile.txt +echo "$newFile.txt has been created!" +echo 'The file name was stored in $newFile' + diff --git a/01-read_input.sh b/01-read_input.sh index 438445b4..29c3b26e 100644 --- a/01-read_input.sh +++ b/01-read_input.sh @@ -10,3 +10,11 @@ echo 'Your name was stored in $name' # exercise: write a script that asks the user for a # filename and create an empty file named after it + +#Alex Shaklee's changes from software dev 1 +echo "Enter a name for the new file" +read newFile +touch $newFile.txt +echo "$newFile.txt has been created!" +echo 'The file name was stored in $newFile' + diff --git a/02-add_nums.sh b/02-add_nums.sh index 2fd13cb5..344a952f 100644 --- a/02-add_nums.sh +++ b/02-add_nums.sh @@ -13,3 +13,6 @@ echo "The sum is $sum" # exercise: ask the user for the width and height and present total # number of pixels + +echo This is a new command +echo This is DIFFERENT than before! diff --git a/NetworkGraph.PNG b/NetworkGraph.PNG new file mode 100644 index 00000000..19dee6c7 Binary files /dev/null and b/NetworkGraph.PNG differ diff --git a/NetworkGraph2.PNG b/NetworkGraph2.PNG new file mode 100644 index 00000000..e3637408 Binary files /dev/null and b/NetworkGraph2.PNG differ diff --git a/NetworkGraphForSoftwareDev2Part1.PNG b/NetworkGraphForSoftwareDev2Part1.PNG new file mode 100644 index 00000000..6a4fa086 Binary files /dev/null and b/NetworkGraphForSoftwareDev2Part1.PNG differ diff --git a/NetworkGraphForSoftwareDev2Part2.PNG b/NetworkGraphForSoftwareDev2Part2.PNG new file mode 100644 index 00000000..2b8cbfba Binary files /dev/null and b/NetworkGraphForSoftwareDev2Part2.PNG differ