tamir_hostname_hosts

This commit is contained in:
milisbir 2018-10-09 10:51:57 +03:00
parent 4518537b31
commit 773c6df62a
1 changed files with 3 additions and 0 deletions

3
bin/tamir_hostname_hosts.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
sudo echo "127.0.0.1 $HOSTNAME" >> /etc/hosts