Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- clear
- echo 'Hello'
- sleep 2
- echo "What's your name?"
- read name
- clear
- echo "hello $name"
- sleep 2
- echo 'What would you like to save to your journal today?'
- read ans
- echo " " >> Journal.txt
- echo "$name `date '+%m-%d-%Y %H:%M:%S'`: $ans" >> Journal.txt
- echo "$name `date '+%m-%d-%Y %H:%M:%S'`: $ans"
- sleep 3
- echo "Bye have a good day :)"
- sleep 3
- clear
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement