which config file to set: this name <=> this ip
Hello all,
I would like to use names instead of IPs. For instance: "ping familypc" instead of "ping 192.168.13.37 or "ssh a_user_name@remote_computer" instead of "ssh a_user_name@ip.not.on.LAN". I am looking for the configuration file where I can set up these equivalences. I am sure that it exists (hidden somewhere under /etc ...) :) Thanks in advance /kloss |
You're looking for /etc/hosts, which would have entries like
Code:
127.0.0.1 localhost |
Quote:
Bye |
All times are GMT -5. The time now is 05:43 PM. |