Question: 4. netstat Netstat (Network Statistic) command displays interfaces, connection information, routing table information $netstat Output : Execute it with the following options and write the
4. netstat Netstat (Network Statistic)
command displays interfaces,
connection information,
routing table information
$netstat Output :
Execute it with the following options and write the output:
netstat t
netstat s
t netstat -i
5. ifconfig
ifconfig is used for displaying network interface information
$/sbin/ifconfig
Output :
6. who
Displays information of all users who are logged in
$who
Output :
7. whoami
The whoami command writes the user name (i.e., login name) of the owner of the current login session to standard output.
$whoami
Output :
9. tcpdump
Tcpdump prints out a description of the contents of packets on a network interface that match the boolean expression; the description is preceded by a time stamp, printed, by default, as hours, minutes, seconds, and fractions of a second since midnight.
output for ARP protocol:
$ tcpdump
Output :
.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
