milis/bin/tamir_hostname_hosts.sh

4 lines
58 B
Bash
Raw Normal View History

2018-10-09 09:51:57 +02:00
#!/bin/sh
sudo echo "127.0.0.1 $HOSTNAME" >> /etc/hosts