cat /etc/hosts
cp /etc/hosts /home/user/MyDocs
command > file.txt
sudo gainroot apt-get update >/home/user/MyDocs/apt.txt