Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
nospamphone=0
while :
do
pnumber=$"xxxxxxxxxx"
time=$(date +"%m-%d-%y %I:%M")
hdspacetot=$(df -h /mnt/user/ ~ | awk 'NR==2 {print $2}')
hdspacefree=$(df -h /mnt/user/ ~ | awk 'NR==2 {print $4}')