Adding fixing a few things.

This commit is contained in:
Derek Taylor
2020-11-15 06:16:21 -06:00
parent 3a124db7d7
commit d72c0e0842
9 changed files with 76 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
#! /bin/bash
mem="$(free -h | awk '/^Mem:/ {print $3 "/" $2}')"
echo -e "$mem ram "
echo -e "$mem "

View File

@@ -1,4 +1,4 @@
#!/bin/bash
cupd=$(checkupdates | wc -l)
echo "$cupd updates"
echo "$cupd available "

View File

@@ -1,4 +1,4 @@
#! /bin/bash
upt="$(uptime --pretty | sed -e 's/up //g' -e 's/ days/d/g' -e 's/ day/d/g' -e 's/ hours/h/g' -e 's/ hour/h/g' -e 's/ minutes/m/g' -e 's/, / /g')"
echo -e "$upt uptime "
echo -e "$upt "