03132014 Flashcards
0
Q
Find interface name by using ___ command
A
ifconfig
1
Q
Use ___ command to find gateway address
A
route
2
Q
Bring a network interface up
A
ifdown
ifup
3
Q
Query or control network driver and hardware settings
A
ethtool
ethtool wlp2s0 ifdown ifup shutdown -h now /var/log/messages
4
Q
The command to start an ftp session is ___
A
ftp server-name
5
Q
The syntax for SCP comprises of the given commands:
to copy to a machine:
to copy from a machine:
cd /tmp
ls > f1.txt
cd /home/lezeastmor
ls > f5.txt
A
scp local-filename username@hostname:/directory
scp username@hostname:/directory/filename
scp f1.txt lezeastmor@localhost:/tmp
scp guest1@192.168.1.115:/temp/f5.txt
6
Q
Sample ftp
A
ftp 192.168.1.15 type username and password help pwd !pwd, !ls lcd /tmp !ls put f1.txt quit ls > f1.txt