<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: OS X: Edit a file using TextEdit as root or superuser</title>
	<atom:link href="http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Thu, 09 Feb 2012 21:01:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Heuristo</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-52877</link>
		<dc:creator>Heuristo</dc:creator>
		<pubDate>Wed, 28 Dec 2011 16:18:53 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-52877</guid>
		<description>Thanks very much for this information. Especially Greg for the elaboration on using emacs which was fun since I used it every day back in the early 1980&#039;s and loved it. Cobwebs heavy over there but I love how snappy emacs is.</description>
		<content:encoded><![CDATA[<p>Thanks very much for this information. Especially Greg for the elaboration on using emacs which was fun since I used it every day back in the early 1980&#8217;s and loved it. Cobwebs heavy over there but I love how snappy emacs is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ethomas</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-50244</link>
		<dc:creator>ethomas</dc:creator>
		<pubDate>Fri, 07 Oct 2011 15:11:22 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-50244</guid>
		<description>I plugged in (sudo open -t /etc/hosts) into the terminal put in my password and it says there is an error in the textedit and then i go manually look at text edit and it says the &quot;hosts&quot; file is locked so i can&#039;t do anything...what should i do, or can i do anything.</description>
		<content:encoded><![CDATA[<p>I plugged in (sudo open -t /etc/hosts) into the terminal put in my password and it says there is an error in the textedit and then i go manually look at text edit and it says the &#8220;hosts&#8221; file is locked so i can&#8217;t do anything&#8230;what should i do, or can i do anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nareille</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-50030</link>
		<dc:creator>Nareille</dc:creator>
		<pubDate>Fri, 30 Sep 2011 12:43:09 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-50030</guid>
		<description>I think this command broke my xampp! Everytime ever since when i change something in my vhosts file and restart apache, it says there is another server running on port 80! 
The only way to &quot;fix&quot; it is to reboot. 

I wanna undo this step, but whenever I open the file, it is opened with sudo permissions. Even the icon changed. How can I undo it?!</description>
		<content:encoded><![CDATA[<p>I think this command broke my xampp! Everytime ever since when i change something in my vhosts file and restart apache, it says there is another server running on port 80!<br />
The only way to &#8220;fix&#8221; it is to reboot. </p>
<p>I wanna undo this step, but whenever I open the file, it is opened with sudo permissions. Even the icon changed. How can I undo it?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-49954</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 27 Sep 2011 17:59:31 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-49954</guid>
		<description>Works for me (i user snow leopard)
just need to login before then edit the host file :)</description>
		<content:encoded><![CDATA[<p>Works for me (i user snow leopard)<br />
just need to login before then edit the host file :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-49749</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 17 Sep 2011 09:14:50 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-49749</guid>
		<description>This seems to be broken in Lion. Works for me in Snow Leopard

&gt;sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts</description>
		<content:encoded><![CDATA[<p>This seems to be broken in Lion. Works for me in Snow Leopard</p>
<p>&gt;sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: x</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-49659</link>
		<dc:creator>x</dc:creator>
		<pubDate>Tue, 13 Sep 2011 23:26:21 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-49659</guid>
		<description>that short hand command &quot;sudo open -t /etc/hosts&quot;  worked for me!  THANKS :D</description>
		<content:encoded><![CDATA[<p>that short hand command &#8220;sudo open -t /etc/hosts&#8221;  worked for me!  THANKS :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paloma Jiménez</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-33980</link>
		<dc:creator>Paloma Jiménez</dc:creator>
		<pubDate>Thu, 04 Aug 2011 10:54:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-33980</guid>
		<description>thanks!!!!!</description>
		<content:encoded><![CDATA[<p>thanks!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-33843</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Thu, 28 Jul 2011 08:13:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-33843</guid>
		<description>from the terminal:

sudo nano /etc/hosts
enter your PW and bam, you are now able to edit the file. to save changes hit &quot;control+o&quot; to write the output to the file, when asked for the file name just hit enter. &quot;control+x&quot; to close nano.</description>
		<content:encoded><![CDATA[<p>from the terminal:</p>
<p>sudo nano /etc/hosts<br />
enter your PW and bam, you are now able to edit the file. to save changes hit &#8220;control+o&#8221; to write the output to the file, when asked for the file name just hit enter. &#8220;control+x&#8221; to close nano.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-48278</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 04 May 2011 05:11:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-48278</guid>
		<description>Or you could learn a bit of emacs.

sudo emacs /etc/hosts
Then ^ N a few time down to the line you want to edit.
^ F to move forward and ^ B to move back.
^ = Control
^ P = previous line
The to save the file  ^ X followed by ^ S.
To exit ^ X  ^ C.
It seem weird at first but it&#039;s well worth the effort.
You will find that many Cocoa apps use emacs keys but don&#039;t advertise them.</description>
		<content:encoded><![CDATA[<p>Or you could learn a bit of emacs.</p>
<p>sudo emacs /etc/hosts<br />
Then ^ N a few time down to the line you want to edit.<br />
^ F to move forward and ^ B to move back.<br />
^ = Control<br />
^ P = previous line<br />
The to save the file  ^ X followed by ^ S.<br />
To exit ^ X  ^ C.<br />
It seem weird at first but it&#8217;s well worth the effort.<br />
You will find that many Cocoa apps use emacs keys but don&#8217;t advertise them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hoax</title>
		<link>http://www.tech-recipes.com/rx/2754/os_x_edit_file_using_textedit_as_root_superuser/comment-page-1/#comment-48127</link>
		<dc:creator>Hoax</dc:creator>
		<pubDate>Sat, 23 Apr 2011 09:17:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-48127</guid>
		<description>does not let me save the changes due to restricted access...</description>
		<content:encoded><![CDATA[<p>does not let me save the changes due to restricted access&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 2/17 queries in 1.186 seconds using memcached
Object Caching 416/422 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-09 21:59:52 -->
