milis/bin/tamir_hostname_hosts.sh

4 lines
58 B
Bash
Executable File

#!/bin/sh
sudo echo "127.0.0.1 $HOSTNAME" >> /etc/hosts