diff --git a/script5.sh b/script5.sh new file mode 100755 index 0000000..94ccd54 --- /dev/null +++ b/script5.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +#this script creates a random file +#and shows the user where it has been stored + +echo "Hello $USER" + +echo "$(date)" >> "$(uptime)".txt + +echo "Your file has been stored in $(pwd)"