<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.lcnw.co.uk/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Clewis</id>
	<title>Lewis Consultancy Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.lcnw.co.uk/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Clewis"/>
	<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php/Special:Contributions/Clewis"/>
	<updated>2026-05-06T14:14:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.4</generator>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Category:Test&amp;diff=61</id>
		<title>Category:Test</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Category:Test&amp;diff=61"/>
		<updated>2021-11-08T14:37:04Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;The Test category&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Test category&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Testpage2&amp;diff=60</id>
		<title>Testpage2</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Testpage2&amp;diff=60"/>
		<updated>2021-11-08T14:30:33Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;Another test page  Category:Test&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Another test page&lt;br /&gt;
&lt;br /&gt;
[[Category:Test]]&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Testpage&amp;diff=59</id>
		<title>Testpage</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Testpage&amp;diff=59"/>
		<updated>2021-11-08T14:29:51Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a test page&lt;br /&gt;
&lt;br /&gt;
[[Category:Test]]&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Testpage&amp;diff=58</id>
		<title>Testpage</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Testpage&amp;diff=58"/>
		<updated>2021-11-08T14:29:35Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;This is a test page  Category: Test&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a test page&lt;br /&gt;
&lt;br /&gt;
[[Category: Test]]&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=IT/AWS/S3&amp;diff=57</id>
		<title>IT/AWS/S3</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=IT/AWS/S3&amp;diff=57"/>
		<updated>2021-09-01T09:01:15Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Tag files ( set tag archive=yes ) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Tag objects in an S3 bucket based on size=&lt;br /&gt;
It's desirable to avoid archiving small files as not efficient. One approach is to tag the file based on then archive to glacier based on tag.&lt;br /&gt;
&lt;br /&gt;
==Get full filelist of bucket and store==&lt;br /&gt;
 aws s3 ls s3://bucketname/path --recursive &amp;gt; /tmp/fullfilelist.txt&lt;br /&gt;
 &lt;br /&gt;
==Select only files greater than x bytes==&lt;br /&gt;
 cat /tmp/fullfilelist.txt | awk '{ if ($3&amp;gt; 5000000)  print $4}' &amp;gt; /tmp/largefilenames.txt&lt;br /&gt;
&lt;br /&gt;
==Tag files ( set tag archive=yes ) ==&lt;br /&gt;
 cat /tmp/largefilenames.txt | while read fn; do aws s3api put-object-tagging --bucket bucketname --key &amp;quot;$fn&amp;quot; --tagging '{&amp;quot;TagSet&amp;quot;: [{ &amp;quot;Key&amp;quot;: &amp;quot;archive&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;yes&amp;quot; }]}'; done&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=IT/AWS/S3&amp;diff=56</id>
		<title>IT/AWS/S3</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=IT/AWS/S3&amp;diff=56"/>
		<updated>2021-09-01T09:00:48Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Tag files (set tag archive=yes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Tag objects in an S3 bucket based on size=&lt;br /&gt;
It's desirable to avoid archiving small files as not efficient. One approach is to tag the file based on then archive to glacier based on tag.&lt;br /&gt;
&lt;br /&gt;
==Get full filelist of bucket and store==&lt;br /&gt;
 aws s3 ls s3://bucketname/path --recursive &amp;gt; /tmp/fullfilelist.txt&lt;br /&gt;
 &lt;br /&gt;
==Select only files greater than x bytes==&lt;br /&gt;
 cat /tmp/fullfilelist.txt | awk '{ if ($3&amp;gt; 5000000)  print $4}' &amp;gt; /tmp/largefilenames.txt&lt;br /&gt;
&lt;br /&gt;
==Tag files ( set tag archive=yes ) ==&lt;br /&gt;
 cat /tmp/largefilenames.txt | while read fn; do aws s3api put-object-tagging --bucket inview-nas1 --key &amp;quot;$fn&amp;quot; --tagging '{&amp;quot;TagSet&amp;quot;: [{ &amp;quot;Key&amp;quot;: &amp;quot;archive&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;yes&amp;quot; }]}'; done&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=IT/AWS/S3&amp;diff=55</id>
		<title>IT/AWS/S3</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=IT/AWS/S3&amp;diff=55"/>
		<updated>2021-09-01T09:00:32Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=Tag objects in an S3 bucket based on size= It's desirable to avoid archiving small files as not efficient. One approach is to tag the file based on then archive to glacier ba...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Tag objects in an S3 bucket based on size=&lt;br /&gt;
It's desirable to avoid archiving small files as not efficient. One approach is to tag the file based on then archive to glacier based on tag.&lt;br /&gt;
&lt;br /&gt;
==Get full filelist of bucket and store==&lt;br /&gt;
 aws s3 ls s3://bucketname/path --recursive &amp;gt; /tmp/fullfilelist.txt&lt;br /&gt;
 &lt;br /&gt;
==Select only files greater than x bytes==&lt;br /&gt;
 cat /tmp/fullfilelist.txt | awk '{ if ($3&amp;gt; 5000000)  print $4}' &amp;gt; /tmp/largefilenames.txt&lt;br /&gt;
&lt;br /&gt;
==Tag files (set tag archive=yes ==&lt;br /&gt;
 cat /tmp/largefilenames.txt | while read fn; do aws s3api put-object-tagging --bucket inview-nas1 --key &amp;quot;$fn&amp;quot; --tagging '{&amp;quot;TagSet&amp;quot;: [{ &amp;quot;Key&amp;quot;: &amp;quot;archive&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;yes&amp;quot; }]}'; done&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=54</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=54"/>
		<updated>2018-12-07T16:26:22Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this example is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert .mov file to h264 (mp4 container)=&lt;br /&gt;
&lt;br /&gt;
Useful for Canon EOS cameras to save space on storage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;avconv -nostdin -i inputfile.mov -c:v libx264 outputfile.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert MTS to mkv and reduce scale=&lt;br /&gt;
&amp;lt;pre&amp;gt;ffmpeg -nostdin -i  $fn -vf scale=1024:-1 ~/Videos/conv/$fn.mkv&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or with deinterlacing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ffmpeg -i 00168.MTS -s 1024x768 -vcodec libx264 -crf 20 -acodec ac3 -vf &amp;quot;yadif&amp;quot; /mnt/mp4vids/00168.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Copy files  found between two dates from a heirachical structure to a flat structure=&lt;br /&gt;
&amp;lt;pre&amp;gt;find . -type f -newermt 2016-08-07 ! -newermt 2016-08-30 -printf %p\|%f\\n | while read names&lt;br /&gt;
do IFS='|' read var1 var2 &amp;lt;&amp;lt;&amp;lt; `echo $names`; rsync -Pva &amp;quot;$var1&amp;quot; root@remote.machine.com:&amp;quot;/var/path/$var2&amp;quot;; done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Mount a Hauwei mobile phone=&lt;br /&gt;
Huawei seem to have a usb mass storage device which appears to allow ease of installing windows drivers. This stops the underlying mtp device from working in nautilus. It is possible to mount the mtp resources using jmtpfs :&lt;br /&gt;
&lt;br /&gt;
  sudo jmtpfs /mnt/phone -o allow_other&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=53</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=53"/>
		<updated>2018-09-09T10:36:40Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this example is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert .mov file to h264 (mp4 container)=&lt;br /&gt;
&lt;br /&gt;
Useful for Canon EOS cameras to save space on storage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;avconv -nostdin -i inputfile.mov -c:v libx264 outputfile.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert MTS to mkv and reduce scale=&lt;br /&gt;
&amp;lt;pre&amp;gt;ffmpeg -nostdin -i  $fn -vf scale=1024:-1 ~/Videos/conv/$fn.mkv&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or with deinterlacing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ffmpeg -i 00168.MTS -s 1024x768 -vcodec libx264 -crf 20 -acodec ac3 -vf &amp;quot;yadif&amp;quot; /mnt/mp4vids/00168.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Copy files  found between two dates from a heirachical structure to a flat structure=&lt;br /&gt;
&amp;lt;pre&amp;gt;find . -type f -newermt 2016-08-07 ! -newermt 2016-08-30 -printf %p\|%f\\n | while read names&lt;br /&gt;
do IFS='|' read var1 var2 &amp;lt;&amp;lt;&amp;lt; `echo $names`; rsync -Pva &amp;quot;$var1&amp;quot; root@remote.machine.com:&amp;quot;/var/path/$var2&amp;quot;; done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Sandbox&amp;diff=52</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Sandbox&amp;diff=52"/>
		<updated>2017-07-13T14:44:22Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;&amp;lt;span class=&amp;quot;newwin&amp;quot;&amp;gt;MediaWiki&amp;lt;/span&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span class=&amp;quot;newwin&amp;quot;&amp;gt;[[MediaWiki]]&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=MediaWiki:Common.js&amp;diff=51</id>
		<title>MediaWiki:Common.js</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=MediaWiki:Common.js&amp;diff=51"/>
		<updated>2017-07-13T14:42:34Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;/* Any JavaScript here will be loaded for all users on every page load. */  $(function( $ )  { 	$( '#mw-content-text' ).on( 'click', '.newwin &amp;gt; a', function( e ) { 		var other...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* Any JavaScript here will be loaded for all users on every page load. */&lt;br /&gt;
&lt;br /&gt;
$(function( $ )  {&lt;br /&gt;
	$( '#mw-content-text' ).on( 'click', '.newwin &amp;gt; a', function( e ) {&lt;br /&gt;
		var otherWindow = window.open();&lt;br /&gt;
		otherWindow.opener = null;&lt;br /&gt;
		otherWindow.location = this;&lt;br /&gt;
		return false;&lt;br /&gt;
	} );&lt;br /&gt;
} );&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=50</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=50"/>
		<updated>2017-02-26T11:20:05Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this example is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert .mov file to h264 (mp4 container)=&lt;br /&gt;
&lt;br /&gt;
Useful for Canon EOS cameras to save space on storage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;avconv -i inputfile.mov -c:v libx264 outputfile.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert MTS to mkv and reduce scale=&lt;br /&gt;
&amp;lt;pre&amp;gt;ffmpeg -nostdin -i  $fn -vf scale=1024:-1 ~/Videos/conv/$fn.mkv&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or with deinterlacing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ffmpeg -i 00168.MTS -s 1024x768 -vcodec libx264 -crf 20 -acodec ac3 -vf &amp;quot;yadif&amp;quot; /mnt/mp4vids/00168.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Copy files  found between two dates from a heirachical structure to a flat structure=&lt;br /&gt;
&amp;lt;pre&amp;gt;find . -type f -newermt 2016-08-07 ! -newermt 2016-08-30 -printf %p\|%f\\n | while read names&lt;br /&gt;
do IFS='|' read var1 var2 &amp;lt;&amp;lt;&amp;lt; `echo $names`; rsync -Pva &amp;quot;$var1&amp;quot; root@remote.machine.com:&amp;quot;/var/path/$var2&amp;quot;; done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/iDRAC&amp;diff=49</id>
		<title>Main Page/IT/iDRAC</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/iDRAC&amp;diff=49"/>
		<updated>2016-09-01T10:37:31Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=Some notes on iDRAC=  ==Change the port number== Use  &amp;lt;pre&amp;gt;racadm set iDRAC.Webserver.HttpsPort 445&amp;lt;/pre&amp;gt;  The racadm command is part of the dell omsa utilities.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Some notes on iDRAC=&lt;br /&gt;
&lt;br /&gt;
==Change the port number==&lt;br /&gt;
Use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;racadm set iDRAC.Webserver.HttpsPort 445&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The racadm command is part of the dell omsa utilities.&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=48</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=48"/>
		<updated>2016-09-01T10:36:57Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Admin]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/iDRAC]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/LibreOffice]]===&lt;br /&gt;
===[[/Misc]]===&lt;br /&gt;
===[[/Postgresql]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/text processing]]===&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/ssh]]===&lt;br /&gt;
===[[/nagios]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=47</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=47"/>
		<updated>2016-06-21T21:47:46Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Convert MTS to mkv and reduce scale */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this example is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert .mov file to h264 (mp4 container)=&lt;br /&gt;
&lt;br /&gt;
Useful for Canon EOS cameras to save space on storage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;avconv -i inputfile.mov -c:v libx264 outputfile.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert MTS to mkv and reduce scale=&lt;br /&gt;
&amp;lt;pre&amp;gt;ffmpeg -nostdin -i  $fn -vf scale=1024:-1 ~/Videos/conv/$fn.mkv&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or with deinterlacing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ffmpeg -i 00168.MTS -s 1024x768 -vcodec libx264 -crf 20 -acodec ac3 -vf &amp;quot;yadif&amp;quot; /mnt/mp4vids/00168.mp4&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/nagios&amp;diff=46</id>
		<title>Main Page/IT/nagios</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/nagios&amp;diff=46"/>
		<updated>2016-05-25T10:44:46Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=A one liner to split up a nagios log= &amp;lt;pre&amp;gt;cat nagios.log  | while read line; do  unixts=`echo $line | cut -b 2-11`;  logname=&amp;quot;nagios-`date -d \@$unixts +%m-%d-%Y`-00.log&amp;quot;; e...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A one liner to split up a nagios log=&lt;br /&gt;
&amp;lt;pre&amp;gt;cat nagios.log  | while read line; do  unixts=`echo $line | cut -b 2-11`;  logname=&amp;quot;nagios-`date -d \@$unixts +%m-%d-%Y`-00.log&amp;quot;; echo $line &amp;gt;&amp;gt; $logname; done&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=45</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=45"/>
		<updated>2016-05-25T10:44:22Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Admin]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/LibreOffice]]===&lt;br /&gt;
===[[/Misc]]===&lt;br /&gt;
===[[/Postgresql]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/text processing]]===&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/ssh]]===&lt;br /&gt;
===[[/nagios]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/LibreOffice&amp;diff=44</id>
		<title>Main Page/IT/LibreOffice</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/LibreOffice&amp;diff=44"/>
		<updated>2016-02-09T15:26:36Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=Remove Text Formatting Quote= Sometimes Libreoffice does bad things when you import CSV files. You can remove a single quote ' at the beginning of text formatted cells using ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Remove Text Formatting Quote=&lt;br /&gt;
Sometimes Libreoffice does bad things when you import CSV files. You can remove a single quote ' at the beginning of text formatted cells using find and replace:&lt;br /&gt;
* select use regex option in find and replace&lt;br /&gt;
* Find for &amp;lt;pre&amp;gt; ^.*$ &amp;lt;/pre&amp;gt;&lt;br /&gt;
* replace with &amp;lt;pre&amp;gt;&amp;amp; &amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=43</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=43"/>
		<updated>2016-02-09T15:24:21Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Admin]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/LibreOffice]]===&lt;br /&gt;
===[[/Misc]]===&lt;br /&gt;
===[[/Postgresql]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/text processing]]===&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/ssh]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Postgresql&amp;diff=42</id>
		<title>Main Page/IT/Postgresql</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Postgresql&amp;diff=42"/>
		<updated>2016-02-04T12:00:25Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Back up a database remotely with compression===&lt;br /&gt;
&amp;lt;pre&amp;gt;ssh root@dbserver  'sudo  -Hu postgres  /usr/lib/postgresql/9.4/bin/pg_dumpall | gzip -f9' &amp;gt; output.sql.gz&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Postgresql&amp;diff=41</id>
		<title>Main Page/IT/Postgresql</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Postgresql&amp;diff=41"/>
		<updated>2016-02-04T11:42:06Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;===Back up a database remotely with compression=== &amp;lt;pre&amp;gt;ssh root@dbserver  'sudo  -Hu postgres  /usr/lib/postgresql/9.4/bin/pg_dump dbname | gzip -f9' &amp;gt; output.sql.gz&amp;lt;/pre&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Back up a database remotely with compression===&lt;br /&gt;
&amp;lt;pre&amp;gt;ssh root@dbserver  'sudo  -Hu postgres  /usr/lib/postgresql/9.4/bin/pg_dump dbname | gzip -f9' &amp;gt; output.sql.gz&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=40</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=40"/>
		<updated>2016-02-04T11:40:54Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Admin]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/Misc]]===&lt;br /&gt;
===[[/Postgresql]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/text processing]]===&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/ssh]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssh&amp;diff=39</id>
		<title>Main Page/IT/ssh</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssh&amp;diff=39"/>
		<updated>2015-11-04T14:53:16Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Set up a revserse tunnel to bypass NAT to a remote machine=&lt;br /&gt;
Useful to log into a remote machine (remote) with account (remoteaccount) that is behind a NAT firewall.&lt;br /&gt;
&lt;br /&gt;
Create an account on a machine on the Internet (middle.some.place) which is available from both sides and set a password:&lt;br /&gt;
&amp;lt;pre&amp;gt;useradd -s /bin/bash middleuser&lt;br /&gt;
passwd middleuser&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From remote machine &lt;br /&gt;
&amp;lt;pre&amp;gt;ssh -R 10002:localhost:22 middleuser@middle.some.place&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The remote user will log into the middle machine. The terminal must stay open for the duration of the connection.&lt;br /&gt;
&lt;br /&gt;
if you're logged into the middle.some.place.... you can then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ssh remoteaccount@localhost -P 10002&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
should present a login for the remote machine and that should be it!&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssh&amp;diff=38</id>
		<title>Main Page/IT/ssh</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssh&amp;diff=38"/>
		<updated>2015-11-04T14:52:42Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=Set up a revserse tunnel to bypass NAT to a remote machine= Useful to log into a remote machine (remote) with account (remoteaccount) that is behind a NAT firewall.  Create a...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Set up a revserse tunnel to bypass NAT to a remote machine=&lt;br /&gt;
Useful to log into a remote machine (remote) with account (remoteaccount) that is behind a NAT firewall.&lt;br /&gt;
&lt;br /&gt;
Create an account on a machine on the Internet (middle.some.place) which is available from both sides and set a password:&lt;br /&gt;
&amp;lt;pre&amp;gt;useradd -s /bin/bash middleuser&lt;br /&gt;
passwd middleuser&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From remote machine &lt;br /&gt;
&amp;lt;pre&amp;gt;ssh -R 10002:localhost:22 middleuser@middle.some.place&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The remote user will log into the middle machine. The terminal must stay open for the duration of the connection.&lt;br /&gt;
&lt;br /&gt;
if you're logged into the middle.some.place.... you can then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ssh remoteaccount@localhost -P 10002&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that should be it&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=37</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=37"/>
		<updated>2015-11-04T14:42:04Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Admin]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/Misc]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/text processing]]===&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/ssh]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=36</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=36"/>
		<updated>2015-07-20T22:40:54Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Convert .mov file to h264 (mp4 container) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this example is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert .mov file to h264 (mp4 container)=&lt;br /&gt;
&lt;br /&gt;
Useful for Canon EOS cameras to save space on storage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;avconv -i inputfile.mov -c:v libx264 outputfile.mp4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert MTS to mkv and reduce scale=&lt;br /&gt;
&amp;lt;pre&amp;gt;ffmpeg -nostdin -i  $fn -vf scale=1024:-1 ~/Videos/conv/$fn.mkv&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=35</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=35"/>
		<updated>2015-01-03T23:08:03Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this example is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Convert .mov file to h264 (mp4 container)=&lt;br /&gt;
&lt;br /&gt;
Useful for Canon EOS cameras to save space on storage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;avconv -i inputfile.mov -c:v libx264 outputfile.mp4&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=34</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=34"/>
		<updated>2014-11-13T11:27:14Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this example is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=33</id>
		<title>Main Page/IT/Misc</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Misc&amp;diff=33"/>
		<updated>2014-11-13T11:26:31Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=  First copy all contact to a temporary location ... let's say /var/tracks...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=&lt;br /&gt;
&lt;br /&gt;
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list correctly numerically i.e. 01..02..//..10..11 etc&lt;br /&gt;
&lt;br /&gt;
The destination location for this command is /media/stick/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;find /var/tracks/  | sort -n  | while read fn; do cp --parents -f &amp;quot;$fn&amp;quot; /media/usb-stick/; sleep 1; done&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=32</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=32"/>
		<updated>2014-11-13T11:22:34Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Admin]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/Misc]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/text processing]]===&lt;br /&gt;
===[[/Virtualisation]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Admin&amp;diff=31</id>
		<title>Main Page/IT/Admin</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Admin&amp;diff=31"/>
		<updated>2014-10-22T15:00:01Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Which processes are listening on which ports? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Which processes are listening on which ports?=&lt;br /&gt;
&amp;lt;pre&amp;gt;netstat -tulpn&amp;lt;/pre&amp;gt;&lt;br /&gt;
=Which processes are using all the IO=&lt;br /&gt;
&amp;lt;pre&amp;gt;iotop --only&amp;lt;/pre&amp;gt;&lt;br /&gt;
The --only shows only processes using io as opposed to all processes&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing/awk&amp;diff=30</id>
		<title>Main Page/IT/text processing/awk</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing/awk&amp;diff=30"/>
		<updated>2014-10-16T15:43:05Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=print a column= &amp;lt;pre&amp;gt;ping  $(ip route |awk '/default/{print $3}')&amp;lt;/pre&amp;gt; Pings the default gateway as found from ip route.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=print a column=&lt;br /&gt;
&amp;lt;pre&amp;gt;ping  $(ip route |awk '/default/{print $3}')&amp;lt;/pre&amp;gt;&lt;br /&gt;
Pings the default gateway as found from ip route.&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing&amp;diff=29</id>
		<title>Main Page/IT/text processing</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing&amp;diff=29"/>
		<updated>2014-10-16T15:41:21Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[/awk]]===&lt;br /&gt;
===[[/grep]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Admin&amp;diff=28</id>
		<title>Main Page/IT/Admin</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Admin&amp;diff=28"/>
		<updated>2014-09-11T09:26:59Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=Which processes are listening on which ports?= &amp;lt;pre&amp;gt;netstat -tulpn&amp;lt;/pre&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Which processes are listening on which ports?=&lt;br /&gt;
&amp;lt;pre&amp;gt;netstat -tulpn&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=27</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=27"/>
		<updated>2014-09-11T09:26:25Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Admin]]===&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/text processing]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing/grep&amp;diff=26</id>
		<title>Main Page/IT/text processing/grep</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing/grep&amp;diff=26"/>
		<updated>2014-07-03T09:46:38Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=grep= Some useful things to know ==Finding IPs only== &amp;lt;pre&amp;gt;cat filewithips | grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}'  | sort | uniq&amp;lt;/pre&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=grep=&lt;br /&gt;
Some useful things to know&lt;br /&gt;
==Finding IPs only==&lt;br /&gt;
&amp;lt;pre&amp;gt;cat filewithips | grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}'  | sort | uniq&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing&amp;diff=25</id>
		<title>Main Page/IT/text processing</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/text_processing&amp;diff=25"/>
		<updated>2014-07-03T09:45:09Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;===/grep===&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[/grep]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=24</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=24"/>
		<updated>2014-07-03T09:44:20Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/text processing]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=23</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=23"/>
		<updated>2014-07-03T09:44:00Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/clamav]]===&lt;br /&gt;
===[[/text processing]]&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/clamav&amp;diff=22</id>
		<title>Main Page/IT/clamav</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/clamav&amp;diff=22"/>
		<updated>2014-07-02T09:32:57Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Create a custom signature */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Notes on ClamAV=&lt;br /&gt;
==Create a custom signature==&lt;br /&gt;
This is useful for scanning mail for zip files that contain .EXE and .SCR files which will almost ceratinly be malicious.&lt;br /&gt;
&lt;br /&gt;
Create a file in /var/lib/clamav called zipexe.zmd:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ZippedExe:0:.*\.exe:*:*:*:*:*:*&lt;br /&gt;
ZippedExe:0:.*\.scr:*:*:*:*:*:*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and restart clamd.&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/clamav&amp;diff=21</id>
		<title>Main Page/IT/clamav</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/clamav&amp;diff=21"/>
		<updated>2014-07-02T09:32:38Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=Notes on ClamAV= ==Create a custom signature== This is useful for scanning mail for zip files that contain .EXE and .SCR files which will almost ceratinly be malicious.  Crea...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Notes on ClamAV=&lt;br /&gt;
==Create a custom signature==&lt;br /&gt;
This is useful for scanning mail for zip files that contain .EXE and .SCR files which will almost ceratinly be malicious.&lt;br /&gt;
&lt;br /&gt;
Create a file in /var/lib/clamav called zipexe.zmd:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ZippedExe:0:.*\.exe:*:*:*:*:*:*&lt;br /&gt;
ZippedExe:0:.*\.scr:*:*:*:*:*:*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and restart clamav.&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=20</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=20"/>
		<updated>2014-07-02T09:26:45Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/clamav]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=19</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=19"/>
		<updated>2014-07-02T09:26:32Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/ssl]]===&lt;br /&gt;
===[[/clamav]]==&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssl&amp;diff=18</id>
		<title>Main Page/IT/ssl</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssl&amp;diff=18"/>
		<updated>2014-03-14T10:32:19Z</updated>

		<summary type="html">&lt;p&gt;Clewis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=SSL=&lt;br /&gt;
&lt;br /&gt;
==View expiry date of certificate==&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl x509 -noout -in &amp;lt;filename&amp;gt; -dates&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssl&amp;diff=17</id>
		<title>Main Page/IT/ssl</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/ssl&amp;diff=17"/>
		<updated>2014-03-14T10:32:11Z</updated>

		<summary type="html">&lt;p&gt;Clewis: Created page with &amp;quot;=SSL=  ==View expiry date of certificate== &amp;lt;pre&amp;gt;openssl x509 -noout -in &amp;lt;filename&amp;gt; -dates&amp;lt;/pre&amp;lt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=SSL=&lt;br /&gt;
&lt;br /&gt;
==View expiry date of certificate==&lt;br /&gt;
&amp;lt;pre&amp;gt;openssl x509 -noout -in &amp;lt;filename&amp;gt; -dates&amp;lt;/pre&amp;lt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=16</id>
		<title>Main Page/IT</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT&amp;diff=16"/>
		<updated>2014-03-14T10:31:16Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=IT=&lt;br /&gt;
==Topics==&lt;br /&gt;
===[[/Virtualisation]]===&lt;br /&gt;
===[[/LDAP]]===&lt;br /&gt;
===[[/bind]]===&lt;br /&gt;
===[[/ssl]]===&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=15</id>
		<title>Main Page/IT/Virtualisation</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=15"/>
		<updated>2014-03-10T13:44:30Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Compress a qcow2 disk image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=KVM=&lt;br /&gt;
Stuff relevant to qemu-kvm&lt;br /&gt;
==Create a qcow2 disk image==&lt;br /&gt;
This will be provisoned &amp;quot;thinly&amp;quot; so the file will grow as data is written into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;qemu-img create -f qcow2 mydisk.qcow2 8G&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compress a qcow2 disk image==&lt;br /&gt;
&amp;lt;pre&amp;gt;qemu-img convert -c -f qcow2 -O qcow2 -o cluster_size=2M myold_disk.qcow2 mynew_disk.qcow2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install an existing VM from the command line using virt-install==&lt;br /&gt;
This will spin up a new VM given an existing disk image. One virtio disk and one virtio NIC on br100.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;virt-install --name &amp;lt;&amp;lt;Your machine name&amp;gt;&amp;gt; --hvm --ram 512 --disk path=&amp;lt;&amp;lt;path to your existing OS image&amp;gt;&amp;gt;,format=qcow2,bus=virtio --import --network bridge=br100,model=virtio --vnc --os-type=linux --os-variant=debianwheezy&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start a fresh install of VM from command line==&lt;br /&gt;
&lt;br /&gt;
Creates a VM called windows8-test and starts an install of windows from an iso image. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;virt-install --name windows8-test --hvm --ram 1024 --disk path=./windows8-test-disk1.qcow2,format=qcow2,bus=virtio  --network bridge=br100,model=virtio --vnc --os-type=windows --cdrom /mnt/vmimages/iso/Windows\ 8\ Retail\(MSDN\)Pro\ x64\ bit.ISO&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=14</id>
		<title>Main Page/IT/Virtualisation</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=14"/>
		<updated>2014-03-10T13:44:20Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Create a qcow2 disk image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=KVM=&lt;br /&gt;
Stuff relevant to qemu-kvm&lt;br /&gt;
==Create a qcow2 disk image==&lt;br /&gt;
This will be provisoned &amp;quot;thinly&amp;quot; so the file will grow as data is written into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;qemu-img create -f qcow2 mydisk.qcow2 8G&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compress a qcow2 disk image==&lt;br /&gt;
&amp;lt;pre&amp;gt;kvm-img convert -c -f qcow2 -O qcow2 -o cluster_size=2M myold_disk.qcow2 mynew_disk.qcow2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install an existing VM from the command line using virt-install==&lt;br /&gt;
This will spin up a new VM given an existing disk image. One virtio disk and one virtio NIC on br100.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;virt-install --name &amp;lt;&amp;lt;Your machine name&amp;gt;&amp;gt; --hvm --ram 512 --disk path=&amp;lt;&amp;lt;path to your existing OS image&amp;gt;&amp;gt;,format=qcow2,bus=virtio --import --network bridge=br100,model=virtio --vnc --os-type=linux --os-variant=debianwheezy&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start a fresh install of VM from command line==&lt;br /&gt;
&lt;br /&gt;
Creates a VM called windows8-test and starts an install of windows from an iso image. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;virt-install --name windows8-test --hvm --ram 1024 --disk path=./windows8-test-disk1.qcow2,format=qcow2,bus=virtio  --network bridge=br100,model=virtio --vnc --os-type=windows --cdrom /mnt/vmimages/iso/Windows\ 8\ Retail\(MSDN\)Pro\ x64\ bit.ISO&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=13</id>
		<title>Main Page/IT/Virtualisation</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=13"/>
		<updated>2014-02-27T10:03:07Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Install a VM from the command line using virt-install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=KVM=&lt;br /&gt;
Stuff relevant to qemu-kvm&lt;br /&gt;
==Create a qcow2 disk image==&lt;br /&gt;
This will be provisoned &amp;quot;thinly&amp;quot; so the file will grow as data is written into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kvm-img create -f qcow2 mydisk.qcow2 8G&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compress a qcow2 disk image==&lt;br /&gt;
&amp;lt;pre&amp;gt;kvm-img convert -c -f qcow2 -O qcow2 -o cluster_size=2M myold_disk.qcow2 mynew_disk.qcow2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install an existing VM from the command line using virt-install==&lt;br /&gt;
This will spin up a new VM given an existing disk image. One virtio disk and one virtio NIC on br100.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;virt-install --name &amp;lt;&amp;lt;Your machine name&amp;gt;&amp;gt; --hvm --ram 512 --disk path=&amp;lt;&amp;lt;path to your existing OS image&amp;gt;&amp;gt;,format=qcow2,bus=virtio --import --network bridge=br100,model=virtio --vnc --os-type=linux --os-variant=debianwheezy&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start a fresh install of VM from command line==&lt;br /&gt;
&lt;br /&gt;
Creates a VM called windows8-test and starts an install of windows from an iso image. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;virt-install --name windows8-test --hvm --ram 1024 --disk path=./windows8-test-disk1.qcow2,format=qcow2,bus=virtio  --network bridge=br100,model=virtio --vnc --os-type=windows --cdrom /mnt/vmimages/iso/Windows\ 8\ Retail\(MSDN\)Pro\ x64\ bit.ISO&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
	<entry>
		<id>https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=12</id>
		<title>Main Page/IT/Virtualisation</title>
		<link rel="alternate" type="text/html" href="https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/Virtualisation&amp;diff=12"/>
		<updated>2014-02-27T09:59:35Z</updated>

		<summary type="html">&lt;p&gt;Clewis: /* Install a VM from the command line using virt-install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=KVM=&lt;br /&gt;
Stuff relevant to qemu-kvm&lt;br /&gt;
==Create a qcow2 disk image==&lt;br /&gt;
This will be provisoned &amp;quot;thinly&amp;quot; so the file will grow as data is written into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kvm-img create -f qcow2 mydisk.qcow2 8G&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compress a qcow2 disk image==&lt;br /&gt;
&amp;lt;pre&amp;gt;kvm-img convert -c -f qcow2 -O qcow2 -o cluster_size=2M myold_disk.qcow2 mynew_disk.qcow2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install a VM from the command line using virt-install==&lt;br /&gt;
This will spin up a new VM given an existing disk image. One virtio disk and one virtio NIC on br100.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;virt-install --name &amp;lt;&amp;lt;Your machine name&amp;gt;&amp;gt; --hvm --ram 512 --disk path=&amp;lt;&amp;lt;path to your existing OS image&amp;gt;&amp;gt;,format=qcow2,bus=virtio --import --network bridge=br100,model=virtio --vnc --os-type=linux --os-variant=debianwheezy&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clewis</name></author>
		
	</entry>
</feed>