03132014 Flashcards

0
Q

Find interface name by using ___ command

A

ifconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Use ___ command to find gateway address

A

route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Bring a network interface up

A

ifdown

ifup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Query or control network driver and hardware settings

A

ethtool

ethtool wlp2s0
ifdown
ifup
shutdown -h now
/var/log/messages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The command to start an ftp session is ___

A

ftp server-name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly