<?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>Alex Sleat &#187; blank</title>
	<atom:link href="https://alexsleat.co.uk/tag/blank/feed/" rel="self" type="application/rss+xml" />
	<link>https://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Sun, 15 Dec 2013 17:19:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>HowTo: Restore Your Default .bashrc File in Ubuntu</title>
		<link>https://alexsleat.co.uk/2012/06/12/howto-restore-your-default-bashrc-file-in-ubuntu/</link>
		<comments>https://alexsleat.co.uk/2012/06/12/howto-restore-your-default-bashrc-file-in-ubuntu/#comments</comments>
		<pubDate>Tue, 12 Jun 2012 08:39:40 +0000</pubDate>
		<dc:creator><![CDATA[Alex]]></dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=31701</guid>
		<description><![CDATA[<br/><p>If you&#8217;ve managed to find yourself deleting, overwriting or generally messing up your profiles .bashrc file there&#8217;s a really easy way to fix it. A default version of the file can be found under &#8220;/etc/skel/.bashrc&#8221;, simply coping that over your profiles one (found in your home directory) will restore it to default. Make sure [...]]]></description>
				<content:encoded><![CDATA[<br/><p>If you&#8217;ve managed to find yourself deleting, overwriting or generally messing up your profiles .bashrc file there&#8217;s a really easy way to fix it. A default version of the file can be found under &#8220;/etc/skel/.bashrc&#8221;, simply coping that over your profiles one (found in your home directory) will restore it to default. Make sure to also source the file if you want to continue using it under that terminal or close and re-open the terminal.</p>
<p>I managed to have a blank bashrc after upgrading Ubuntu with a separate /home partition, while deleting all the old config files I must have also removed this.</p>
<p>The following commands should do this for you, be sure to make a back up of your current .bashrc file too, just to be safe.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">cp</span> ~/.bashrc ~/.bashrc.bkup<br />
<span class="kw2">cp</span> /etc/skel/.bashrc ~/<br />
<span class="kw3">source</span> .bashrc</div>
<p>You should be now back to a default terminal experience and continue to customise it how you like!</p>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2012/06/12/howto-restore-your-default-bashrc-file-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
