diff --git a/01-read_input.sh b/01-read_input.sh index 438445b4..ab379ff4 100644 --- a/01-read_input.sh +++ b/01-read_input.sh @@ -10,3 +10,13 @@ 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 +# Ask the user for a filename +echo "Please enter a filename:" +<<<<<<< HEAD +read filename + +# Create an empty file with the provided filename +touch $filename + +echo "File '$filename' has been created." + diff --git a/Part II screen shot.png b/Part II screen shot.png new file mode 100644 index 00000000..218fd4cf Binary files /dev/null and b/Part II screen shot.png differ diff --git a/after-merging.png b/after-merging.png new file mode 100644 index 00000000..4bb7bb01 Binary files /dev/null and b/after-merging.png differ