<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: If you are tired typing netstat -nr | grep ^x.x.x.x in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17188#M2905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was just trying to minimise words to type and use tab.. &lt;IMG src="https://community.checkpoint.com/legacyfs/online/checkpoint/emoticons/grin.png" /&gt;&amp;nbsp;happy weekend!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2018 14:32:40 GMT</pubDate>
    <dc:creator>Kaspars_Zibarts</dc:creator>
    <dc:date>2018-11-16T14:32:40Z</dc:date>
    <item>
      <title>If you are tired typing netstat -nr | grep ^x.x.x.x</title>
      <link>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17186#M2903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be very obvious for some but in case your routing table is long and you need to search for routes with grep, you might want to add a "shortcut" as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;echo '#!/bin/bash'&amp;gt;/usr/bin/showroute; echo 'netstat -nr|grep ^$1'&amp;gt;/usr/bin/showroute; chmod +x /usr/bin/showroute&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use &lt;STRONG&gt;showroute&lt;/STRONG&gt; as your command instead of netstat to find routes, i.e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/74587_2018-11-16_11-05-40.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course you can change &lt;STRONG&gt;showroute&lt;/STRONG&gt; alias to something else &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 10:07:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17186#M2903</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-11-16T10:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: If you are tired typing netstat -nr | grep ^x.x.x.x</title>
      <link>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17187#M2904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely handy, and one can also use &lt;STRONG&gt;ip route get (IP)&lt;/STRONG&gt; to find the one matching route that would be used if (IP) was the destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;Second Edition of my "Max Power" Firewall Book&lt;BR /&gt;&lt;SPAN&gt;Now Available at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.maxpowerfirewalls.com" rel="nofollow"&gt;http://www.maxpowerfirewalls.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:21:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17187#M2904</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2018-11-16T14:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: If you are tired typing netstat -nr | grep ^x.x.x.x</title>
      <link>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17188#M2905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was just trying to minimise words to type and use tab.. &lt;IMG src="https://community.checkpoint.com/legacyfs/online/checkpoint/emoticons/grin.png" /&gt;&amp;nbsp;happy weekend!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:32:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17188#M2905</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-11-16T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: If you are tired typing netstat -nr | grep ^x.x.x.x</title>
      <link>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17189#M2906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;More reliable than show route destination IP in clish?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:34:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17189#M2906</guid>
      <dc:creator>Martin_Valenta</dc:creator>
      <dc:date>2018-11-16T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: If you are tired typing netstat -nr | grep ^x.x.x.x</title>
      <link>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17190#M2907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretty sure they will both give the same result, would be very surprised if they didn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt; Second Edition of my "Max Power" Firewall Book&lt;BR /&gt; Now Available at &lt;A href="http://www.maxpowerfirewalls.com" target="_blank"&gt;http://www.maxpowerfirewalls.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:37:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/If-you-are-tired-typing-netstat-nr-grep-x-x-x-x/m-p/17190#M2907</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2018-11-16T14:37:20Z</dc:date>
    </item>
  </channel>
</rss>

