<?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>sysadmin Archives - george mastro</title>
	<atom:link href="https://georgemastro.com/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>https://georgemastro.com/tag/sysadmin/</link>
	<description>web developer, photographer, filmmaker</description>
	<lastBuildDate>Sat, 25 Oct 2025 20:41:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://georgemastro.com/wp-content/uploads/2016/02/cropped-mastro-avatar-square-32x32.jpg</url>
	<title>sysadmin Archives - george mastro</title>
	<link>https://georgemastro.com/tag/sysadmin/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Replace text in all files in a project &#8211; Linux</title>
		<link>https://georgemastro.com/replace-text-in-all-files-in-a-project-linux/</link>
		
		<dc:creator><![CDATA[mastro]]></dc:creator>
		<pubDate>Wed, 18 Jun 2014 15:16:51 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<guid isPermaLink="false">http://georgemastro.com/?p=38</guid>

					<description><![CDATA[<p>Just run this: grep --include={*.php,*.html,*.htm} -rnl './' -e "text" &#124; xargs -i@ sed -i 's/text/new text/g' @ replacing the extensions you want to be included.</p>
<p>The post <a href="https://georgemastro.com/replace-text-in-all-files-in-a-project-linux/">Replace text in all files in a project &#8211; Linux</a> appeared first on <a href="https://georgemastro.com">george mastro</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Just run this:</p>
<p><code>grep --include={*.php,*.html,*.htm} -rnl './' -e "text" | xargs -i@ sed -i 's/text/new text/g' @</code><br />
replacing the extensions you want to be included.</p>
<p>The post <a href="https://georgemastro.com/replace-text-in-all-files-in-a-project-linux/">Replace text in all files in a project &#8211; Linux</a> appeared first on <a href="https://georgemastro.com">george mastro</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ERROR: ASCII &#8216;\0&#8217; appeared in the statement, but this is not allowed unless option&#8230;</title>
		<link>https://georgemastro.com/error-ascii-0-appeared-in-the-statement-but-this-is-not-allowed-unless-option/</link>
		
		<dc:creator><![CDATA[mastro]]></dc:creator>
		<pubDate>Fri, 30 May 2014 14:51:17 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sysadmin]]></category>
		<guid isPermaLink="false">http://georgemastro.com/?p=22</guid>

					<description><![CDATA[<p>ERROR: ASCII &#8216;\0&#8217; appeared in the statement, but this is not allowed unless option &#8211;binary-mode is enabled and mysql is run in non-interactive mode. Set &#8211;binary-mode to 1 if ASCII &#8216;\0&#8217; is expected. Query:  Today I came across with this very weird error message while trying to import my database from shell. Well&#8230;.it&#8217;s not very [&#8230;]</p>
<p>The post <a href="https://georgemastro.com/error-ascii-0-appeared-in-the-statement-but-this-is-not-allowed-unless-option/">ERROR: ASCII &#8216;\0&#8217; appeared in the statement, but this is not allowed unless option&#8230;</a> appeared first on <a href="https://georgemastro.com">george mastro</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>ERROR: ASCII &#8216;\0&#8217; appeared in the statement, but this is not allowed unless option &#8211;binary-mode is enabled and mysql is run in non-interactive mode. Set &#8211;binary-mode to 1 if ASCII &#8216;\0&#8217; is expected. Query: </strong></p>
<p><span id="more-22"></span><br />
Today I came across with this very weird error message while trying to import my database from shell. Well&#8230;.it&#8217;s not very clear what the heck is going on, but the solution is very simple. You just have to gunzip your sql.gz file before you import it.<br />
So just run<br />
<code>gunzip myfile.sql.gz</code></p>
<p>The post <a href="https://georgemastro.com/error-ascii-0-appeared-in-the-statement-but-this-is-not-allowed-unless-option/">ERROR: ASCII &#8216;\0&#8217; appeared in the statement, but this is not allowed unless option&#8230;</a> appeared first on <a href="https://georgemastro.com">george mastro</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to add an XML sitemap of your ghost blog to Google webmaster tools</title>
		<link>https://georgemastro.com/how-to-add-an-xml-sitemap-of-your-ghost-blog-to-google-webmaster-tools/</link>
		
		<dc:creator><![CDATA[mastro]]></dc:creator>
		<pubDate>Thu, 29 May 2014 14:50:17 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[ghost]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[xml]]></category>
		<guid isPermaLink="false">http://georgemastro.com/?p=16</guid>

					<description><![CDATA[<p>Well, actually you can&#8217;t do it easily without messing around with shell scripts. But there is a simple way to get crawled. Just use the address my-blog.com/rss where &#8220;my-blog&#8221; is actually your blog&#8217;s URL, and put it as a new sitemap. You&#8217;re done!</p>
<p>The post <a href="https://georgemastro.com/how-to-add-an-xml-sitemap-of-your-ghost-blog-to-google-webmaster-tools/">How to add an XML sitemap of your ghost blog to Google webmaster tools</a> appeared first on <a href="https://georgemastro.com">george mastro</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Well, actually you can&#8217;t do it easily without messing around with shell scripts.</p>
<p>But there is a simple way to get crawled. Just use the address my-blog.com/rss where &#8220;my-blog&#8221; is actually your blog&#8217;s URL, and put it as a new sitemap.<span id="more-16"></span></p>
<p>You&#8217;re done!</p>
<p><img decoding="async" class="alignnone size-medium wp-image-17" src="http://georgemastro.com/wp-content/uploads/2016/02/screen-300x152.png" alt="screen" width="300" height="152" srcset="https://georgemastro.com/wp-content/uploads/2016/02/screen-300x152.png 300w, https://georgemastro.com/wp-content/uploads/2016/02/screen.png 720w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>The post <a href="https://georgemastro.com/how-to-add-an-xml-sitemap-of-your-ghost-blog-to-google-webmaster-tools/">How to add an XML sitemap of your ghost blog to Google webmaster tools</a> appeared first on <a href="https://georgemastro.com">george mastro</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
