diff_months: 26

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 ControlMessageProtocol)tocommunicatetootherdevices.Youcanpinghostnameoripaddressusingbelowcommand.

example:ping201.54.100.1orpingwww.google.com

2.hostname

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

3.traceroute

traceroute isanetworktroubleshootingutilitythatshows the numberofhopstakentoreach the destination and alsodetermines the packettravelingpath.

4.netstat

Netstat (Network Statistic) command displays interfaces,connection information, routingtable informationetc.

Executeitwiththefollowingoptions andwritetheoutput:

netstat tnetstat s tnetstat -i

5.ifconfig

ifconfigisusedfordisplayingnetworkinterfaceinformation.

6.who

Displaysinformationofalluserswhoareloggedin

7.whoami

The whoami command writes the user name (i.e., login name) of the owner of the currentloginsession to standardoutput.

8.nmap

Networkmappertooltodiscoverhostsandservicesona computernetwork.

9.tcpdump

Tcpdumpprintsoutadescriptionofthecontentsofpacketsonanetworkinterface thatmatch the boolean expression; the description is preceded by a time stamp, printed, bydefault, ashours,minutes,seconds,and fractionsofa secondsincemidnight.

SampleoutputforARPprotocol:

arpwho-has128.3.254.6tell128.3.254.68

arpreply128.3.254.6is-at02:07:01:00:01:c4

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

Order New Solution

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan

Premium

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
Most
Popular

Gold

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

Silver

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