<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Networking | Ukant Jadia</title><link>https://ukantjadia.github.io/tag/networking/</link><atom:link href="https://ukantjadia.github.io/tag/networking/index.xml" rel="self" type="application/rss+xml"/><description>Networking</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sat, 30 Dec 2023 14:14:11 +0530</lastBuildDate><image><url>https://ukantjadia.github.io/media/icon_hu5e29e1df12b63ca0c9252c8db4842f1b_8915_512x512_fill_lanczos_center_3.png</url><title>Networking</title><link>https://ukantjadia.github.io/tag/networking/</link></image><item><title>Networking Command Netstat</title><link>https://ukantjadia.github.io/post/networking-command-netstat/</link><pubDate>Sat, 30 Dec 2023 14:14:11 +0530</pubDate><guid>https://ukantjadia.github.io/post/networking-command-netstat/</guid><description>&lt;h1 id="learn-netstat">Learn Netstat&lt;/h1>
&lt;blockquote>
&lt;p>A basic &lt;code>Linux&lt;/code> network command&lt;/p>
&lt;/blockquote>
&lt;h2 id="netstat">NETSTAT&lt;/h2>
&lt;ul>
&lt;li>Prints the network connection and routing tables.&lt;/li>
&lt;li>Like an CCTV monitor for every connection come in and go out from your machine.&lt;/li>
&lt;li>MiniManual&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;ul>
&lt;li>&lt;code>netstat -ant&lt;/code> : &lt;code>a&lt;/code> for all connection, &lt;code>n&lt;/code> for numeric, &lt;code>t&lt;/code> for all TCP connection//&lt;code>u&lt;/code> for the UDP connection&lt;/li>
&lt;li>&lt;code>netstat -rnec&lt;/code> :&lt;code>r&lt;/code> for the route information, &lt;code>n&lt;/code> numeric, &lt;code>e&lt;/code> extend, &lt;code>c&lt;/code> continous prints the result&lt;/li>
&lt;li>&lt;code>netstat -stuw&lt;/code> : &lt;code>s&lt;/code> for statistics summary,&lt;code>t/u&lt;/code> for tcp/udp, &lt;code>w&lt;/code> prints raw data&lt;/li>
&lt;li>&lt;code>netstat -tulpn&lt;/code> : it shows the connectio with PID numbers&lt;/li>
&lt;li>&lt;code>lsof -i&lt;/code> : it establish the connection&lt;/li>
&lt;/ul>
&lt;/blockquote></description></item></channel></rss>