Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions 01-changed_read_input.sh
Original file line number Diff line number Diff line change
@@ -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'

8 changes: 8 additions & 0 deletions 01-read_input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'

3 changes: 3 additions & 0 deletions 02-add_nums.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Binary file added NetworkGraph.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NetworkGraph2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NetworkGraphForSoftwareDev2Part1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NetworkGraphForSoftwareDev2Part2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.