<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pario TechnoBlob &#187; cut</title>
	<atom:link href="http://pario.no/tag/cut/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:17:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Randomize filenames</title>
		<link>http://pario.no/2010/09/10/randomize-filenames/</link>
		<comments>http://pario.no/2010/09/10/randomize-filenames/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 21:18:46 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[mv]]></category>
		<category><![CDATA[sha1sum]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1402</guid>
		<description><![CDATA[This is a simple bash script to create random filenames of all jpg-files (*.jpg) in a folder using the linux commands mv, sha1sum and cut. #!/bin/bash # Randomize filenames for fname in *.jpg; do mv "$fname" $(echo "$fname" &#124; \ sha1sum &#124; \ cut -f1 -d ' ' &#124; \ cut -b 1-5).jpg done The [...]]]></description>
			<content:encoded><![CDATA[<p>This is a simple bash script to create random filenames of all jpg-files (*.jpg) in a folder using the linux commands mv, sha1sum and cut.</p>
<pre>
#!/bin/bash
# Randomize filenames

for fname in *.jpg;
do
        mv "$fname" $(echo "$fname" | \
                sha1sum | \
                cut -f1 -d ' ' | \
                cut -b 1-5).jpg
done
</pre>
<p>The jpg-files can have names like</p>
<pre>
08df4.jpg
1e788.jpg
315e6.jpg
41e19.jpg
5f7d0.jpg
7471e.jpg</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMTAvMDkvMTAvcmFuZG9taXplLWZpbGVuYW1lcy88d3B0Yj5SYW5kb21pemUgZmlsZW5hbWVzPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2010/09/10/randomize-filenames/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strip the kernel to contain only needed modules</title>
		<link>http://pario.no/2007/12/04/strip-the-kernel-to-contain-only-needed-modules/</link>
		<comments>http://pario.no/2007/12/04/strip-the-kernel-to-contain-only-needed-modules/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 14:38:45 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[lsmod]]></category>
		<category><![CDATA[modinfo]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://pario.no/2007/12/04/strip-the-kernel-to-contain-only-needed-modules/</guid>
		<description><![CDATA[This is a great page with som nice bash scripts describing how to remove unwanted modules from your kernel.]]></description>
			<content:encoded><![CDATA[<p>This is a great page with som nice bash scripts describing <a href="http://wiki.linuxquestions.org/wiki/Configuring_linux_kernel">how to remove unwanted modules from your kernel</a>.</p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/wiki.linuxquestions.org\/wiki\/Configuring_linux_kernel"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTIvMDQvc3RyaXAtdGhlLWtlcm5lbC10by1jb250YWluLW9ubHktbmVlZGVkLW1vZHVsZXMvPHdwdGI%2BU3RyaXAgdGhlIGtlcm5lbCB0byBjb250YWluIG9ubHkgbmVlZGVkIG1vZHVsZXM8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/12/04/strip-the-kernel-to-contain-only-needed-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get your IP address</title>
		<link>http://pario.no/2007/05/20/get-your-ip-address/</link>
		<comments>http://pario.no/2007/05/20/get-your-ip-address/#comments</comments>
		<pubDate>Sun, 20 May 2007 19:10:34 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[ifconfig]]></category>

		<guid isPermaLink="false">http://hhj.no/wordpress/2007/05/20/get-your-ip-address/</guid>
		<description><![CDATA[ifconfig eth0 &#124; awk '/inet addr/{print $2}' &#124; cut -d: -f2]]></description>
			<content:encoded><![CDATA[<pre>
ifconfig eth0 | awk '/inet addr/{print $2}' | cut -d: -f2</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMDUvMjAvZ2V0LXlvdXItaXAtYWRkcmVzcy88d3B0Yj5HZXQgeW91ciBJUCBhZGRyZXNzPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/05/20/get-your-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate a list of target hosts to nmap scan</title>
		<link>http://pario.no/2007/04/26/generate-a-list-of-target-hosts-to-nmap-scan/</link>
		<comments>http://pario.no/2007/04/26/generate-a-list-of-target-hosts-to-nmap-scan/#comments</comments>
		<pubDate>Thu, 26 Apr 2007 08:21:18 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[nmap]]></category>

		<guid isPermaLink="false">http://hhj.no/wordpress/2007/04/26/generate-a-list-of-target-hosts-to-nmap-scan/</guid>
		<description><![CDATA[Legg følgende inn i fila iplist.sh #!/bin/bash # filename: iplist.sh # usage: ./iplist.sh 192.168.1.0/24 &#62; iplist.txt nmap -sL $1 --randomize_hosts &#124; grep '^Host' &#124; cut -d '(' -f 2 &#124; cut -d ')' -f 1 Output 192.168.1.215 192.168.1.39 192.168.1.168 192.168.1.11 192.168.1.225]]></description>
			<content:encoded><![CDATA[<p>Legg følgende inn i fila <strong>iplist.sh</strong></p>
<pre>
#!/bin/bash
# filename: iplist.sh
# usage: ./iplist.sh 192.168.1.0/24 &gt; iplist.txt

nmap -sL $1 --randomize_hosts | grep '^Host' | cut -d '(' -f 2 | cut -d
')' -f 1</pre>
<p><span id="more-133"></span><br />
Output</p>
<pre>
192.168.1.215
192.168.1.39
192.168.1.168
192.168.1.11
192.168.1.225</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMDQvMjYvZ2VuZXJhdGUtYS1saXN0LW9mLXRhcmdldC1ob3N0cy10by1ubWFwLXNjYW4vPHdwdGI%2BR2VuZXJhdGUgYSBsaXN0IG9mIHRhcmdldCBob3N0cyB0byBubWFwIHNjYW48d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/04/26/generate-a-list-of-target-hosts-to-nmap-scan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

