This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?<![\w-])\d{8}(?![\w-]) -- Exactly 8 digits not more not less |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)" | |
secs=$((${upSeconds}%60)) | |
mins=$((${upSeconds}/60%60)) | |
hours=$((${upSeconds}/3600%24)) | |
days=$((${upSeconds}/86400)) | |
UPTIME=`printf "%d days, %02dh%02dm%02ds" "$days" "$hours" "$mins" "$secs"` | |
# get the load averages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.aClass{ padding-top: 30px; } |