<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title><![CDATA[All commands]]></title>
    <link>http://www.commandlinefu.com/commands/browse/rss</link>
    <description><![CDATA[A repository for the most elegant and useful UNIX commands.  Great commands can be shared, discussed and voted on to provide a comprehensive resource for working from the command-line]]></description>
    <pubDate>Thu, 07 Oct 2021 02:52:02 +0000</pubDate>
    <generator>Zend Framework Zend_Feed</generator>
    <language>en-us</language>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Command-line-fu" /><feedburner:info uri="command-line-fu" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
      <title><![CDATA[Infinite loop ssh]]></title>
      <author>minnmass</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/yyFoavpa7no/infinite-loop-ssh</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25577/infinite-loop-ssh</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ until ssh login@10.0.0.1; do echo &amp;quot;Nope, keep trying!&amp;quot;; fi; sleep 10; done&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25577/infinite-loop-ssh"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/minnmass"&gt;View all commands by &lt;strong&gt;minnmass&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/yyFoavpa7no" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Wed, 29 Sep 2021 14:53:55 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25577/infinite-loop-ssh</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25577/infinite-loop-ssh</feedburner:origLink></item>
    <item>
      <title><![CDATA[Infinite loop ssh]]></title>
      <author>FluffyBrick</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/ADD0STDDUvE/infinite-loop-ssh</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25575/infinite-loop-ssh</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ while true; do ssh login@10.0.0.1; if [[ $? -ne 0 ]]; then echo &amp;quot;Nope, keep trying!&amp;quot;; fi; sleep 10; done&lt;/code&gt;
&lt;div style=""&gt;Useful when you wait for a server to boot up.&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25575/infinite-loop-ssh"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/FluffyBrick"&gt;View all commands by &lt;strong&gt;FluffyBrick&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/ADD0STDDUvE" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Wed, 29 Sep 2021 12:54:17 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25575/infinite-loop-ssh</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25575/infinite-loop-ssh</feedburner:origLink></item>
    <item>
      <title><![CDATA[Download SSL/TLS pem format cert from https web host]]></title>
      <author>zhangtai (http://zhangtai.me)</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/XTiYSdoyRXA/download-ssltls-pem-format-cert-from-https-web-host</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25560/download-ssltls-pem-format-cert-from-https-web-host</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ openssl s_client -showcerts -connect google.com:443 &amp;lt;/dev/null 2&amp;gt;/dev/null|openssl x509 -outform PEM &amp;gt; /tmp/google.com.cer&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25560/download-ssltls-pem-format-cert-from-https-web-host"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/zhangtai"&gt;View all commands by &lt;strong&gt;zhangtai&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/XTiYSdoyRXA" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Fri, 24 Sep 2021 02:37:00 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25560/download-ssltls-pem-format-cert-from-https-web-host</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25560/download-ssltls-pem-format-cert-from-https-web-host</feedburner:origLink></item>
    <item>
      <title><![CDATA[Add a DNS server on the fly]]></title>
      <author>x3mboy (http://x3mlinux.wordpress.com)</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/aCFaSO9PfBo/add-a-dns-server-on-the-fly</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25554/add-a-dns-server-on-the-fly</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ sudo systemd-resolve --interface &amp;lt;NombreInterfaz&amp;gt; --set-dns &amp;lt;IPDNS&amp;gt; --set-domain mydomain.com&lt;/code&gt;
&lt;div style=""&gt;Since systemd-resolved was implemented, add a DNS server have become weirder and harder than before. With this command, you can add a DNS server on-the-fly tied to an specific interface&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25554/add-a-dns-server-on-the-fly"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/x3mboy"&gt;View all commands by &lt;strong&gt;x3mboy&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/aCFaSO9PfBo" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:43:48 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25554/add-a-dns-server-on-the-fly</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25554/add-a-dns-server-on-the-fly</feedburner:origLink></item>
    <item>
      <title><![CDATA[Windows telnet]]></title>
      <author>EBAH (http://ebah80.blogspot.com/)</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/WyZurjmyPS0/windows-telnet</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25541/windows-telnet</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ Test-NetConnection -ComputerName example.com -Port 443&lt;/code&gt;
&lt;div style=""&gt;Check if TCP port is reacheable&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25541/windows-telnet"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/EBAH"&gt;View all commands by &lt;strong&gt;EBAH&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/WyZurjmyPS0" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Thu, 16 Sep 2021 16:11:04 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25541/windows-telnet</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25541/windows-telnet</feedburner:origLink></item>
    <item>
      <title><![CDATA[Superfast portscanner]]></title>
      <author>wuziduzi</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/kSIiqWHjKAw/superfast-portscanner</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25535/superfast-portscanner</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ time seq 65535 | parallel -k --joblog portscan -j9 --pipe --cat -j200% -n9000  --tagstring  '\033[30;3{=$_=++$::color%8=}m'  'nc -vz localhost $(head -n1 {})-$(tail -n1 {})'&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25535/superfast-portscanner"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/wuziduzi"&gt;View all commands by &lt;strong&gt;wuziduzi&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/kSIiqWHjKAw" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Tue, 14 Sep 2021 16:15:51 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25535/superfast-portscanner</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25535/superfast-portscanner</feedburner:origLink></item>
    <item>
      <title><![CDATA[Clear Cached Memory on Ubuntu]]></title>
      <author>tg0000 (http://www.youtube.com/TimothyGott)</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/y63M7XaRiUE/clear-cached-memory-on-ubuntu</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25534/clear-cached-memory-on-ubuntu</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ sudo free &amp;amp;&amp;amp; sync &amp;amp;&amp;amp; sudo echo 3 | sudo tee /proc/sys/vm/drop_caches&lt;/code&gt;
&lt;div style=""&gt;Clear Cached Memory on Ubuntu based distributions, and also display memory status. Please do not use this on a production machine unless you really really know what you are doing. Echo 3 is a kinder way of purging the memory, you can also use 'echo 2' or 'echo 1' if #1 You know what you are doing, and #2 refer to number 1 :-)&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25534/clear-cached-memory-on-ubuntu"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/tg0000"&gt;View all commands by &lt;strong&gt;tg0000&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/y63M7XaRiUE" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Mon, 13 Sep 2021 16:45:20 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25534/clear-cached-memory-on-ubuntu</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25534/clear-cached-memory-on-ubuntu</feedburner:origLink></item>
    <item>
      <title><![CDATA[Check a directory of PNG files for errors]]></title>
      <author>Negate</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/yMtVsCgeSdY/check-a-directory-of-png-files-for-errors</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25517/check-a-directory-of-png-files-for-errors</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ ls *.png |parallel --nice 19 --bar --will-cite &amp;quot;pngcheck -q {}&amp;quot;&lt;/code&gt;
&lt;div style=""&gt;Useful for checking if a large number of PNG files was downloaded successfully by verifying the built-in CRC checksum. For incomplete files, the command will print:
"00002309.png  EOF while reading IDAT data
ERROR: 00002309.png"
The process is very fast; checking 21,000 files of 5MB in size took only five minutes on a 2011 Intel mobile dual-core.&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25517/check-a-directory-of-png-files-for-errors"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/Negate"&gt;View all commands by &lt;strong&gt;Negate&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/yMtVsCgeSdY" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Sun, 05 Sep 2021 00:37:07 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25517/check-a-directory-of-png-files-for-errors</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25517/check-a-directory-of-png-files-for-errors</feedburner:origLink></item>
    <item>
      <title><![CDATA[Banner Grabber]]></title>
      <author>wuziduzi</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/hRzUktS2bRE/banner-grabber</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25514/banner-grabber</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ bash -c 'exec 3&amp;lt;&amp;gt;/dev/tcp/google.com/80; echo EOF&amp;gt;&amp;amp;3; cat&amp;lt;&amp;amp;3'&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25514/banner-grabber"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/wuziduzi"&gt;View all commands by &lt;strong&gt;wuziduzi&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/hRzUktS2bRE" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Fri, 03 Sep 2021 00:18:05 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25514/banner-grabber</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25514/banner-grabber</feedburner:origLink></item>
    <item>
      <title><![CDATA[generate pem cert from host with ssl port]]></title>
      <author>dbiesecke</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/oJh2J95yfxk/generate-pem-cert-from-host-with-ssl-port</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25512/generate-pem-cert-from-host-with-ssl-port</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ openssl s_client -connect HOSTNAME.at:443 -showcerts &amp;lt;/dev/null 2&amp;gt;/dev/null | openssl x509 -outform PEM &amp;gt; meinzertifikat.pem&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25512/generate-pem-cert-from-host-with-ssl-port"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/dbiesecke"&gt;View all commands by &lt;strong&gt;dbiesecke&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/oJh2J95yfxk" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:05:36 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25512/generate-pem-cert-from-host-with-ssl-port</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25512/generate-pem-cert-from-host-with-ssl-port</feedburner:origLink></item>
    <item>
      <title><![CDATA[Get all lines that start with a dot or period]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/tzh_Zb2qwWo/get-all-lines-that-start-with-a-dot-or-period</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25486/get-all-lines-that-start-with-a-dot-or-period</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ grep '^\.' file&lt;/code&gt;
&lt;div style=""&gt;Read a file or standard input and only outputs lines that start with a dot or period "."&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25486/get-all-lines-that-start-with-a-dot-or-period"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/tzh_Zb2qwWo" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Sun, 22 Aug 2021 16:04:11 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25486/get-all-lines-that-start-with-a-dot-or-period</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25486/get-all-lines-that-start-with-a-dot-or-period</feedburner:origLink></item>
    <item>
      <title><![CDATA[Store Host IP in variable]]></title>
      <author>wuziduzi</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/LRv9tZtF-EA/store-host-ip-in-variable</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25472/store-host-ip-in-variable</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ export IP=&amp;quot;$(hostname -I | awk '{print $1}')&amp;quot;&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25472/store-host-ip-in-variable"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/wuziduzi"&gt;View all commands by &lt;strong&gt;wuziduzi&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/LRv9tZtF-EA" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Tue, 10 Aug 2021 03:48:21 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25472/store-host-ip-in-variable</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25472/store-host-ip-in-variable</feedburner:origLink></item>
    <item>
      <title><![CDATA[Download mp3 files linked in a RSS podcast feed]]></title>
      <author>pascalv</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/LKuGSdFn7hA/download-mp3-files-linked-in-a-rss-podcast-feed</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25469/download-mp3-files-linked-in-a-rss-podcast-feed</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ curl http://radiofrance-podcast.net/podcast09/rss_14726.xml | grep -Eo &amp;quot;(http|https)://[a-zA-Z0-9./?=_%:-]*mp3&amp;quot; | sort -u | xargs wget&lt;/code&gt;
&lt;div style=""&gt;Directly download all mp3 files of the desired podcast&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25469/download-mp3-files-linked-in-a-rss-podcast-feed"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/pascalv"&gt;View all commands by &lt;strong&gt;pascalv&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/LKuGSdFn7hA" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Mon, 09 Aug 2021 13:40:26 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25469/download-mp3-files-linked-in-a-rss-podcast-feed</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25469/download-mp3-files-linked-in-a-rss-podcast-feed</feedburner:origLink></item>
    <item>
      <title><![CDATA[Color STDERR in output]]></title>
      <author>tyzbit (http://qtosw.com)</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/6r_QFo18RWw/color-stderr-in-output</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25467/color-stderr-in-output</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ ./errorscript.sh 2&amp;gt; &amp;gt;(echo &amp;quot;\e[0;41m$(cat)\e[0m&amp;quot;)&lt;/code&gt;
&lt;div style=""&gt;This command will take the output of a command and color any STDERR output as a different color (red outline in this case)&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25467/color-stderr-in-output"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/tyzbit"&gt;View all commands by &lt;strong&gt;tyzbit&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/6r_QFo18RWw" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Sun, 08 Aug 2021 14:28:50 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25467/color-stderr-in-output</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25467/color-stderr-in-output</feedburner:origLink></item>
    <item>
      <title><![CDATA[Combine multiple images into a video using ffmpeg]]></title>
      <author>alikhalil</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/F6UbknCXlCY/combine-multiple-images-into-a-video-using-ffmpeg</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25460/combine-multiple-images-into-a-video-using-ffmpeg</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ ffmpeg -start_number 0053 -r 1/5 -i IMG_%04d.JPG -c:v libx264 -vf fps=25 -pix_fmt yuv420p out.mp4&lt;/code&gt;
&lt;div style=""&gt;The -start_number can be ignored if sequence starts with 0, otherwise use first number in sequence&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25460/combine-multiple-images-into-a-video-using-ffmpeg"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/alikhalil"&gt;View all commands by &lt;strong&gt;alikhalil&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/F6UbknCXlCY" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Sun, 01 Aug 2021 12:39:44 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25460/combine-multiple-images-into-a-video-using-ffmpeg</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25460/combine-multiple-images-into-a-video-using-ffmpeg</feedburner:origLink></item>
    <item>
      <title><![CDATA[premiumize - create a ddl & save the URL in variable MYLINK]]></title>
      <author>dbiesecke</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/ZxjUTe5IYZ8/premiumize-create-a-ddl-save-the-url-in-variable-mylink</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25432/premiumize-create-a-ddl-save-the-url-in-variable-mylink</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ MYLINK=$(curl  'https://www.premiumize.me/api/transfer/directdl?apikey=dzx3rqwrxme8iazu' \   -H 'accept: application/json' \   -H 'Content-Type: application/x-www-form-urlencoded'  --data-raw 'src='$URL | jq -r '.content[] | .link' )&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25432/premiumize-create-a-ddl-save-the-url-in-variable-mylink"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/dbiesecke"&gt;View all commands by &lt;strong&gt;dbiesecke&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/ZxjUTe5IYZ8" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Sun, 25 Jul 2021 09:20:31 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25432/premiumize-create-a-ddl-save-the-url-in-variable-mylink</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25432/premiumize-create-a-ddl-save-the-url-in-variable-mylink</feedburner:origLink></item>
    <item>
      <title><![CDATA[Offcloud - add a link as remote download]]></title>
      <author>dbiesecke</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/w02OxxVXL9M/offcloud-add-a-link-as-remote-download</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25431/offcloud-add-a-link-as-remote-download</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ curl  'https://offcloud.com/api/remote?key=XXXXXX' \   -H 'accept: application/json' \   -H 'Content-Type: application/x-www-form-urlencoded'  --data-raw &amp;quot;url=$MYLINK&amp;amp;remoteOptionId=XXXXX&amp;quot;&lt;/code&gt;
&lt;div style=""&gt;You will get an json respond if all is fine&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25431/offcloud-add-a-link-as-remote-download"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/dbiesecke"&gt;View all commands by &lt;strong&gt;dbiesecke&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/w02OxxVXL9M" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Sun, 25 Jul 2021 09:19:14 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25431/offcloud-add-a-link-as-remote-download</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25431/offcloud-add-a-link-as-remote-download</feedburner:origLink></item>
    <item>
      <title><![CDATA[checks size of directory & delete it if its to small]]></title>
      <author>dbiesecke</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/hrkXW1GlpLE/checks-size-of-directory-delete-it-if-its-to-small</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25430/checks-size-of-directory-delete-it-if-its-to-small</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ for i in *;  do test -d &amp;quot;$i&amp;quot; &amp;amp;&amp;amp; ( rclone size &amp;quot;$i&amp;quot; --json -L 2&amp;gt; /dev/null | jq --arg path &amp;quot;$i&amp;quot; 'if .bytes &amp;lt; 57462360 then ( { p: $path , b: .bytes}) else &amp;quot;none&amp;quot; end' | grep -v none | jq -r '.p' | parallel -j3 rclone purge &amp;quot;{}&amp;quot; -v -P ); done&lt;/code&gt;
&lt;div style=""&gt;only simple example how to combine rclone &amp; jq&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25430/checks-size-of-directory-delete-it-if-its-to-small"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/dbiesecke"&gt;View all commands by &lt;strong&gt;dbiesecke&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/hrkXW1GlpLE" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Sun, 25 Jul 2021 09:16:03 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25430/checks-size-of-directory-delete-it-if-its-to-small</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25430/checks-size-of-directory-delete-it-if-its-to-small</feedburner:origLink></item>
    <item>
      <title><![CDATA[Get a range on line with sed (first two)]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/UGgl8Ybu2bQ/get-a-range-on-line-with-sed-first-two</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25420/get-a-range-on-line-with-sed-first-two</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ sed -n '1,2p;3q' file&lt;/code&gt;
&lt;div style=""&gt;Get the two first lines of a file and quit.&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25420/get-a-range-on-line-with-sed-first-two"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/UGgl8Ybu2bQ" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Fri, 16 Jul 2021 07:29:15 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25420/get-a-range-on-line-with-sed-first-two</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25420/get-a-range-on-line-with-sed-first-two</feedburner:origLink></item>
    <item>
      <title><![CDATA[Remove all the characters before last space per line including it]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/35iKFNGl_ng/remove-all-the-characters-before-last-space-per-line-including-it</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25419/remove-all-the-characters-before-last-space-per-line-including-it</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ echo 'The quick brown fox jumps over the lazy dog' | sed 's|.* ||'&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25419/remove-all-the-characters-before-last-space-per-line-including-it"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/35iKFNGl_ng" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Fri, 16 Jul 2021 07:17:08 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25419/remove-all-the-characters-before-last-space-per-line-including-it</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25419/remove-all-the-characters-before-last-space-per-line-including-it</feedburner:origLink></item>
    <item>
      <title><![CDATA[Get line number 12 (or n) from a file]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/mEgK4bPlziM/get-line-number-12-or-n-from-a-file</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25418/get-line-number-12-or-n-from-a-file</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ sed -n '12p;13q' file&lt;/code&gt;
&lt;div style=""&gt;Extracts only file number 12 from file. It's meant for text files. Replace 12 with the number you want.
First line starts at 1 not 0.
We use q on next line so doesn't process any line more.&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25418/get-line-number-12-or-n-from-a-file"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/mEgK4bPlziM" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Thu, 15 Jul 2021 20:13:05 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25418/get-line-number-12-or-n-from-a-file</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25418/get-line-number-12-or-n-from-a-file</feedburner:origLink></item>
    <item>
      <title><![CDATA[Replace all forward slashes with backward slashes]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/D97TsOPC-ao/replace-all-forward-slashes-with-backward-slashes</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25417/replace-all-forward-slashes-with-backward-slashes</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ echo '/usr/bin/' | sed 's|\/|\\|g'&lt;/code&gt;
&lt;div style=""&gt;Use -i option to edit directly a file:
sed -i 's|\/|\\|g' file&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25417/replace-all-forward-slashes-with-backward-slashes"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/D97TsOPC-ao" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Thu, 15 Jul 2021 20:09:34 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25417/replace-all-forward-slashes-with-backward-slashes</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25417/replace-all-forward-slashes-with-backward-slashes</feedburner:origLink></item>
    <item>
      <title><![CDATA[Replace all backward slashes with forward slashes]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/cuBhWALg7FU/replace-all-backward-slashes-with-forward-slashes</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25416/replace-all-backward-slashes-with-forward-slashes</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ echo 'C:\Windows\' | sed 's|\\|\/|g'&lt;/code&gt;
&lt;div style=""&gt;Use -i to edit file directly:
sed -i 's|\\|\/|g' file&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25416/replace-all-backward-slashes-with-forward-slashes"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/cuBhWALg7FU" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Thu, 15 Jul 2021 20:07:37 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25416/replace-all-backward-slashes-with-forward-slashes</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25416/replace-all-backward-slashes-with-forward-slashes</feedburner:origLink></item>
    <item>
      <title><![CDATA[Remove all the characters after last space per line including it]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/7KK28u-s1lE/remove-all-the-characters-after-last-space-per-line-including-it</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25415/remove-all-the-characters-after-last-space-per-line-including-it</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ echo 'The quick brown fox jumps over the lazy dog' | sed 's|\(.*\) .*|\1|'&lt;/code&gt;
&lt;div style=""&gt;It his example removes ' dog', last space included.&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25415/remove-all-the-characters-after-last-space-per-line-including-it"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/7KK28u-s1lE" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Thu, 15 Jul 2021 20:01:32 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25415/remove-all-the-characters-after-last-space-per-line-including-it</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25415/remove-all-the-characters-after-last-space-per-line-including-it</feedburner:origLink></item>
    <item>
      <title><![CDATA[Download screenshot or frame from YouTube video at certain timestamp]]></title>
      <author>bugmenot</author>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/AfVTa36haeM/download-screenshot-or-frame-from-youtube-video-at-certain-timestamp</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/25399/download-screenshot-or-frame-from-youtube-video-at-certain-timestamp</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ ffmpeg -ss 8:14 -i $(youtube-dl -f 299 --get-url URL) -vframes 1 -q:v 2 out.jpg&lt;/code&gt;
&lt;div style=""&gt;Downloads the frame of given YouTube video at 8 minutes 14 seconds. Requested format is "299", which 1080p only video.&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/25399/download-screenshot-or-frame-from-youtube-video-at-certain-timestamp"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bugmenot"&gt;View all commands by &lt;strong&gt;bugmenot&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Diff your entire server config at &lt;a href="http://www.scriptrock.com?utm_campaign=clfu&amp;utm_medium=clfu%20api%20rss&amp;utm_source=clfu"&gt;ScriptRock.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/AfVTa36haeM" height="1" width="1" alt=""/&gt;</description>
      <pubDate>Tue, 06 Jul 2021 10:59:49 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/25399/download-screenshot-or-frame-from-youtube-video-at-certain-timestamp</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/25399/download-screenshot-or-frame-from-youtube-video-at-certain-timestamp</feedburner:origLink></item>
  </channel>
</rss>
