Hi !
I have add some hosts in /etc/hosts file and I can not use hosts using TAB of keyboard. For example:
Now I want to ping my router using ( ping myrouter ) bur only to write two letters of hostname and press TAB to get full host name.
Thank you !
---------- Post added at 08:36 PM ---------- Previous post was at 07:27 PM ----------
Hi !
So I want to use command
Thank you !
I have add some hosts in /etc/hosts file and I can not use hosts using TAB of keyboard. For example:
HTML Code:
192.168.1.1 myrouter
127.0.0.1 mylocahost
Thank you !
---------- Post added at 08:36 PM ---------- Previous post was at 07:27 PM ----------
Hi !
So I want to use command
HTML Code:
ping ( TAB - to list all hostnames from /etc/hosts)