I try to write a script that adds hosts, like this:
Code: Select all
echo "9\n1\n2\nxa00001\n192.168.69.69\n0\n0\n18\n0\n" | netadmin -m
What's that ?
you have an idea to write it otherwise?
Thanks ^
Code: Select all
echo "9\n1\n2\nxa00001\n192.168.69.69\n0\n0\n18\n0\n" | netadmin -m
not a good idea.sadim wrote:Hi,
Just add the host(s) to the hosts files.
Regards
Code: Select all
echo -e "192.169.69.69 xa00001" >> /etc/hosts