Find interface name by using ___ command
ifconfig
Use ___ command to find gateway address
route
Bring a network interface up
ifdown
ifup
Query or control network driver and hardware settings
ethtool
ethtool wlp2s0 ifdown ifup shutdown -h now /var/log/messages
The command to start an ftp session is ___
ftp server-name
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
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
Sample ftp
ftp 192.168.1.15 type username and password help pwd !pwd, !ls lcd /tmp !ls put f1.txt quit ls > f1.txt