Bash Script Assign Command Output To File