From d1814ff10e8caf5ba378603af2d9ae4871e7b503 Mon Sep 17 00:00:00 2001 From: Erick Vale Date: Tue, 3 Feb 2026 15:17:27 -0500 Subject: [PATCH 1/2] added 01-read-input_copy_cli.sh file --- 01-read-input_copy_cli.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) mode change 100644 => 100755 01-read-input_copy_cli.sh diff --git a/01-read-input_copy_cli.sh b/01-read-input_copy_cli.sh old mode 100644 new mode 100755 index 2cb55a5e..0137319a --- a/01-read-input_copy_cli.sh +++ b/01-read-input_copy_cli.sh @@ -1,10 +1,4 @@ #!/bin/bash -echo "Hello Steven Lopez!" -echo "How old are you?" -read age -echo 'Thanks Steven! I see you are ' $age ' years old' +echo "Hello Erick Vale!" -echo "What school do you currently attend?" -read school -echo 'Nice! ' $school ' sounds like a great place to learn.' From 3872e80eb937faae338a365f9b06d5e8195d8320 Mon Sep 17 00:00:00 2001 From: Erick Vale Date: Tue, 3 Feb 2026 18:09:52 -0500 Subject: [PATCH 2/2] adding testing again --- testing | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing diff --git a/testing b/testing new file mode 100644 index 00000000..655afec6 --- /dev/null +++ b/testing @@ -0,0 +1,24 @@ +#!/bin/bash +# read the name of the user and print hello + +echo "Hello! What is your name" +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 + +echo "Hey $name, What is your filename?" +read filename +echo "You want $filename" +echo "Creating $filename ..." +touch $filename +echo "$filename created" +ls +echo "Bye,bye" +#new code added +cp 01-read_input_ADM.sh $filename +echo "contents of this file copied to $filename" \ No newline at end of file