Saturday, May 14, 2022

Basic Networking Commands

 Basic Network commands in linux



What is a network?

  • A Network is a connection between atleast two computer.
  • The connection can be either wired or wireless.
  • There are some basic command in linux by using which we can check about our connection and the network that we trying to connect.
  • Networking is one of most important concept in cyber security.
  • Networking is a vast concept.
  • Here lets see some basic network command in linux.

  • PING COMMAND:
    • It is a command used to check whether our computer is active or able to make connection with other computer.
    • It can be used to check connection between computers with same network,websites,ip addresss,urls,..
    • command : ping <network url or network ip>
    • Lets ping "google.com"

    • Ping request will not affect the website.It will not stop by itself ,It can be stopped by Ctrl+C (Key to stop a process).
    • Lets ping our blog url and stop it after few ping.

  • TRACEROUTE COMMAND:
    • It is used to check what is the route used by our network to reach the destiny network.
    • Command : traceroute <url>

    • These are the route taken by the network.It will not be same always.
  • IFCONFIG COMMAND:
    • It is used to check what are the connection that are available.
    • Either wired(Ethernet) or wireless connection(Router).
    • Command: ifconfig

    • Here I had two connection , system loopback connection "lo" and Ethernet "eth0".
  • NETSTAT COMMAND:
    • It is used to check the network status.
    • Command : netstat

    • Command : netstat -ie
    • It is also similar to ifconfig.

       



No comments:

Post a Comment

Google Cybersecurity Professional Certificate

    Google Cybersecurity Professional Certification 🔒 Google Cybersecurity Professional Certification: A Journey Unveiled! 🔒 Hey Folks! 🌟...