From dd1faf6e9822598f3924b6ace66bc66ca28320ad Mon Sep 17 00:00:00 2001 From: dee-mee Date: Tue, 2 Apr 2024 14:09:27 +0300 Subject: [PATCH] congrats --- script5.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 script5.sh 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)"