Bash Script Get Hostname Cmd Commands To Format