<?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>Craig Mayhew's Blog &#187; Linux/Ubuntu</title>
	<atom:link href="http://www.craigmayhew.com/blog/tag/linux-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.craigmayhew.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 21:51:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mounting a windows share on linux</title>
		<link>http://www.craigmayhew.com/blog/2010/12/mounting-a-windows-share-on-linux/</link>
		<comments>http://www.craigmayhew.com/blog/2010/12/mounting-a-windows-share-on-linux/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 07:00:05 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=1293</guid>
		<description><![CDATA[This command will mount a windows share on Ubuntu 10.10 (and obviously other versions):

sudo mount -t cifs //1.2.3.4/ShareName/ /media/share -o username=yourUserName,password=yourPassword,allow_other

&#8220;1.2.3.4&#8243; &#8211; The name of the server with the share
&#8220;ShareName&#8221; &#8211; The name of the shared folder
&#8220;/media/share&#8221; &#8211; The local folder the share will be mounted to
&#8220;yourUserName&#8221; &#8211; The username for the share
&#8220;yourPassword&#8221; &#8211; The [...]]]></description>
			<content:encoded><![CDATA[<p>This command will mount a windows share on Ubuntu 10.10 (and obviously other versions):</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo mount -t cifs //1.2.3.4/ShareName/ /media/share -o username=yourUserName,password=yourPassword,allow_other
</pre>
<p>&#8220;1.2.3.4&#8243; &#8211; The name of the server with the share<br />
&#8220;ShareName&#8221; &#8211; The name of the shared folder<br />
&#8220;/media/share&#8221; &#8211; The local folder the share will be mounted to<br />
&#8220;yourUserName&#8221; &#8211; The username for the share<br />
&#8220;yourPassword&#8221; &#8211; The password for the share</p>
<p>If you don&#8217;t have a password, you really should have one for security but here is the command anyway:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo mount -t cifs //1.2.3.4/ShareName/ /media/share -o allow_other
</pre>
<p>If you get the error:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
mount: //1.2.3.4/ShareName/ is not a valid block device
</pre>
<p>Then you may need to install samba file sharing:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo apt-get install smbfs
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2010/12/mounting-a-windows-share-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu: VMWare Runs Slow on NTFS Partition</title>
		<link>http://www.craigmayhew.com/blog/2009/10/ubuntu-vmware-runs-slow-on-ntfs-partition/</link>
		<comments>http://www.craigmayhew.com/blog/2009/10/ubuntu-vmware-runs-slow-on-ntfs-partition/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 23:06:17 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Guides/Fixes]]></category>
		<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[ntfs-3g]]></category>
		<category><![CDATA[VMWare Server]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=445</guid>
		<description><![CDATA[I found the ntfs-3g process was using 100% cpu. Apparently VMWARE can thrash the hard drive so the workaround is to set “mainMem.useNamedFile=FALSE” in the virtual machines .vmx file and VMware will perform faster.
]]></description>
			<content:encoded><![CDATA[<p>I found the ntfs-3g process was using 100% cpu. Apparently VMWARE can thrash the hard drive so the workaround is to set “mainMem.useNamedFile=FALSE” in the virtual machines .vmx file and VMware will perform faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2009/10/ubuntu-vmware-runs-slow-on-ntfs-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.06: Load used swap space back into RAM</title>
		<link>http://www.craigmayhew.com/blog/2009/07/ubuntu-9-06-load-used-swap-space-back-into-ram/</link>
		<comments>http://www.craigmayhew.com/blog/2009/07/ubuntu-9-06-load-used-swap-space-back-into-ram/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 07:24:12 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[Swap Space]]></category>
		<category><![CDATA[Ubuntu 9.04]]></category>
		<category><![CDATA[Virtual Memory]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=226</guid>
		<description><![CDATA[When I have too many applications open or one of them eats all the memory I end up with a big chunk of my swap space used. The problem is that once I&#8217;ve closed a few programs or killed the offending program my computer still uses the swap space! I&#8217;ve read that the swap space [...]]]></description>
			<content:encoded><![CDATA[<p>When I have too many applications open or one of them eats all the memory I end up with a big chunk of my swap space used. The problem is that once I&#8217;ve closed a few programs or killed the offending program my computer still uses the swap space! I&#8217;ve read that the swap space will slowly be loaded back into RAM but only when it is next accessed. This results in sluggish system performance when the applications next read the memory in the swap space. To solve this problem you can empty the swap space and load it all back into RAM with one simple command. Please make sure you have enough RAM installed to load the memory in swap back into RAM&#8230;</p>
<p>This switches off swap memory and forces the system to load it back into RAM:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo swapoff -a
</pre>
<p>This switches swap back on incase you run out of RAM in the future:</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
sudo swapon -a
</pre>
<p>So now I can run those two commands, have the computer busy for 10-15 seconds and then know that it won&#8217;t slow down again due to needing to access the swap (Unless it runs out of RAM again).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2009/07/ubuntu-9-06-load-used-swap-space-back-into-ram/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Command to find the 10 largest files in linux</title>
		<link>http://www.craigmayhew.com/blog/2009/04/command-to-find-the-10-largest-files-in-linux/</link>
		<comments>http://www.craigmayhew.com/blog/2009/04/command-to-find-the-10-largest-files-in-linux/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 08:44:58 +0000</pubDate>
		<dc:creator>Craig Mayhew</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.craigmayhew.com/blog/?p=83</guid>
		<description><![CDATA[The following command will list the top 10 largest files in your linux file system. I&#8217;ve confirmed it works on OpenSUSE and Ubuntu 8.04. Remember to run this command as root if you want to search the entire file system.

find / 2>/dev/null -type f -ls &#124; sort -k 7 -r -n &#124; head -10

]]></description>
			<content:encoded><![CDATA[<p>The following command will list the top 10 largest files in your linux file system. I&#8217;ve confirmed it works on OpenSUSE and Ubuntu 8.04. Remember to run this command as root if you want to search the entire file system.</p>
<pre style="border: 1px solid #FFFFFF; padding: 5px; overflow:auto;">
find / 2>/dev/null -type f -ls | sort -k 7 -r -n | head -10
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.craigmayhew.com/blog/2009/04/command-to-find-the-10-largest-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

