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
6 changes: 6 additions & 0 deletions 01-read_input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ 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 "Enter a filename:"
read filename

touch $filename
echo "File $filename created"
echo "Final combined version"
Binary file added screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.