diff_months: 14

Networking commands in Linux Assignment

Flat 50% Off Order New Solution
Added on: 2023-04-15 07:01:49
Order Code:
Question Task Id: 0

Execute the following commands and write their output

  1. ping:

This command is used to test connectivity between two nodes. Ping use ICMP (Internet Control Message Protocol) to communicate to other devices. You can ping host name or ip address using below command.

example: ping or ping www.google.com

2. hostname

Gives the host name of the computer they are logged into. To set the hostname permanently use /etc/sysconfig/network file.

3. traceroute

traceroute is a network troubleshooting utility that shows the number of hops taken to reach the destination and also determines the packet traveling path.

4. netstat

Netstat (Network Statistic) command displays interfaces, connection information, routing table information etc.

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.

6. who

Displays information of all users who are logged in

7. whoami

The whoami command writes the user name (i.e., login name) of the owner of the current login session to standard output.

8. nmap

Network mapper tool to discover hosts and services on a computer network.

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.

Sample output for ARP protocol:

arp who-has tell

arp reply is-at 02:07:01:00:01:c4

  • Uploaded By : Katthy Wills
  • Posted on : April 15th, 2023
  • Downloads : 0
  • Views : 322

Order New Solution

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan


80 USD
  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing


30 50 USD
  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 33%


20 USD
  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more