Studydroid is shutting down on January 1st, 2019



keywords:
Bookmark and Share



Front Back
How would you look up general DNS information for google.com?
dig google.com
Using ftp how would you download all files in the current directory?
mget *
What username/password is generally used for nonauthenticated users of ftp? 
 anonymous/[user\\\'s email address]
What keyboard combination cancels ping? 
 ctrl + c
How do you specify the amount of packets ping sends? 
 ping -c [count] [hostname]
What command will tell you who registered for the domain
\\\"proprofs.com\\\"? 
What file contains simple host-to-IP address mappings? 
 /etc/hosts
What two files would control the order of DNS resolution? 
 /etc/nsswitch.conf or /etc/host.conf
What function does the /etc/resolv.conf file perform? 
 Specifies the nameservers to use for DNS resolution
What does /etc/networks do? 
 Configures mappings to entire network names and IP addresses.
How would you look up the IP address of oreilly.com? 
 host oreilly.com
How would you configure the hostname/NIS domain name to \\\"proprofs\\\"? 
 hostname proprofs domainname proprofs
What does the command `dnsdomainname` do? 
 Displays the name of the current DNS What command (with no options) will display a summary of network interfaces and their domain name
Display NIC configurations? 
 ifconfig
How would you disable the eth0 interface? 
 ifconfig eth0 down
How would you configure eth1 with an IP of 192.168.1.100
default class C subnet mask
What command prints network connections and routing tables? 
 netstat
What netstat switch will list interfaces? 
 netstat -i
What netstat command will display routing information? 
 netstat -r
What does the `route` command do with no options? 
 Displays the routing table
What is the genmask for the default route? 
 0.0.0.0
How do you add a default gateway of 192.168.1.1 to eth0? 
 route add default gw 192.168.1.1 eth0
What is used when a client needs to be serviced by a DHCP server on a different subnet? 
 DHCP relay server
What is the DHCP config file? 
 /etc/dhcpd.conf
What network interface is generally used in PPP connections? 
 ppp0
What two components must exist for a PPP connection? 
 serial interface and a modem
What command in a chatscript will cause the modem to reset? 
 \\\'\\\' ATZ
What command in a chatscript will cause the modem to dial 800-555-1234? 
 OK ATDT 8005551234
How would you start the ppp daemon on /dev/ttyS0 at the maximum speed? 
 /usr/sbin/pppd /dev/ttyS0 115200
What command option is used in ppp to make ppp constantly available? 
 persist
What is the configuration file for ntpd? 
 /etc/ntp.conf
What entry in ntp.conf specifies the system as both a ntp client and server? 
 peer
What command will sync the time with a ntp server
and also log to syslog? 
How would you print the list of peers known by an ntp server? 
 ntpq -p or ntpdc -p
How would you track where the local system is syncing its time to? 
 ntptrace
x of y cards