Unix Flashcards
1
Q
What is the /etc/hosts file used for?
A
Map names to ip addresses.
2
Q
What are commands to see all network interfaces?
A
“ip link show” in Linux
“ifconfig -a” in FreeBSD
3
Q
What file is used to configure a machines DNS client?
A
/etc/resolv.conf
4
Q
How are IP addresses and other parameters set in unix?
A
ip address command in Linux.
ifconfig command in FreeBSD.
5
Q
What are the commands to examine a machines routing table?
A
ip route show . Linux
netstat - r . FreeBSD