Bash script for system data