だいたい位置揃えならcolumnコマンドを使えばすむ
cat /etc/hosts | column -t