You are on page 1of 1

# ifconfig -a

# cat /etc/hosts

# cd/etc

# vi nsswitch.conf

:q!

# pwd
/etc

# ls -ltrl|grep nsswitch

# cp nsswitch.dns nsswitch.conf

# vi nsswitch.conf

# ls -ltrl|grep resolv

#vi /etc/resolv.conf
"/etc/resolv.conf" [New File]
nameserver 192.168.1.1

# netstat -rn

You might also like