#!/bin/bash addHost() { head -n 10 /etc/hosts > 1.txt cat 1.txt > /etc/hosts cat /etc/hosts rm 1.txt cat >> /etc/hosts<