1 parent 41aeac7 commit 0e7a7d3Copy full SHA for 0e7a7d3
1 file changed
cmd_variables.sh
@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+Today=$(date +"%Y-%m-%d")
3
+Hostname=$(hostname)
4
+Disk_free=$(df -h / | awk 'NR==2{print $4}')
5
+
6
+echo "Today is : $Today"
7
+echo "This machine is : $Hostname"
8
+echo "Free disk space : $Disk_free"
0 commit comments