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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started