DEV Community

Cover image for Networking tips and commands
Abayomi Ogunnusi
Abayomi Ogunnusi

Posted on

1 1

Networking tips and commands

Hello folks, this post is going to focus on common day to day shell commands that can be helpful.


ipconfig

ipconfig: A command line utility that is used to display and manage the IP address assigned to the machine. It displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.

Image description


Ping test

The PING test checks if a web host or IP address is reachable across the Internet by sending multiple ICMP packets and listening for the replies.

Image description


Public address of websites

nslookup google.com

The nslookup command queries internet domain name servers in two modes. Interactive mode allows you to query name servers for information about various hosts and domains, or to print a list of the hosts in a domain.

Image description


Host name

Hostname is a domain name assigned to a host computer or a network node (like your router).

Image description


Whois

Whois finds out the information about a domain, such as the owner of the domain, the owner's contact information, and the name servers that the domain is using.
Image description


Curl

A tool for transferring data from or to a server

Image description


dig

dig command stands for Domain Information Groper. It is used for retrieving information about DNS name servers. It is basically used by network administrators. It is used for verifying and troubleshooting DNS problems and to perform DNS lookups.

Image description


Conclusion

Share useful network tips and commands here in the comment section below. Thanks for reading.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay