<?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>Macintosh-Admin &#187; Tips &amp; Tricks</title>
	<atom:link href="http://www.macintosh-admin.com/category/quicktips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.macintosh-admin.com</link>
	<description>The resource for Macintosh administrators...</description>
	<lastBuildDate>Tue, 31 May 2011 21:24:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>iCal Server: Broken Web Interface</title>
		<link>http://www.macintosh-admin.com/2011/05/31/ical-server-broken-web-interface/</link>
		<comments>http://www.macintosh-admin.com/2011/05/31/ical-server-broken-web-interface/#comments</comments>
		<pubDate>Tue, 31 May 2011 21:24:48 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=336</guid>
		<description><![CDATA[I&#8217;ve been using the built-in calendar server OS X Snow Leopard Server offers since day one. Paired with the address book service it saved me from spending another $99/yr on the MobileMe service. However, for the past month or so, the web interface hasn&#8217;t been working and will continually sit at the &#8216;Getting Events&#8217; screen. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the built-in calendar server OS X Snow Leopard Server offers since day one. Paired with the address book service it saved me from spending another $99/yr on the MobileMe service. However, for the past month or so, the web interface hasn&#8217;t been working and will continually sit at the &#8216;Getting Events&#8217;  screen. Today I finally got around to checking through some error logs, specifically /var/log/caldavd/error.log. The following was the error I was getting:</p>
<p><code>2010-02-01 22:26:59-0600 [-] [caldav-8010] vobject.base.ValidateError: 'VEVENT components cannot contain both DTEND and DURATION components'</code></p>
<p>After searching around I came across <a href="https://discussions.apple.com/message/11004979?messageID=11004979">this post on the Apple Discussion Forums</a>. Something interesting to take note of is, the event was added/modified from the web interface (the product id):</p>
<p>PRODID:-//Apple Inc.//Web Calendar Client//</p>
<p>So that seems to lead me to believe there&#8217;s actually a bug within the web interface that isn&#8217;t setting the right parameters in the events. The fix is to remove the DURATION and replace it with DTEND (if it doesn&#8217;t already exist). What I did to find any events with DURATION was a simple grep:</p>
<p><code>sh-3.2# grep -ir DURATION /Library/CalendarServer/Documents/calendars/__uids__/</code></p>
<p>Then you can use your favorite editor to remove the DURATION line. Before making edits, I recommend stopping the calendar service, edit, then start it back up.</p>
<p>This resolved my issue, so hopefully it can assist anyone else with a broken web iCal interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2011/05/31/ical-server-broken-web-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing the Delete Key In Terminal/SSH Sessions</title>
		<link>http://www.macintosh-admin.com/2010/07/30/fixing-the-delete-key-in-terminalssh-sessions/</link>
		<comments>http://www.macintosh-admin.com/2010/07/30/fixing-the-delete-key-in-terminalssh-sessions/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 05:50:54 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=316</guid>
		<description><![CDATA[I administrate a variety of servers and while most of them don&#8217;t have issues when I connect from my Mac, one of our Debian servers has an issue with the &#8216;delete&#8217; keyboard. Instead of deleting to the left it will do a forward delete and delete the character to the right of the cursor. This [...]]]></description>
			<content:encoded><![CDATA[<p>I administrate a variety of servers and while most of them don&#8217;t have issues when I connect from my Mac, one of our Debian servers has an issue with the &#8216;delete&#8217; keyboard. Instead of deleting to the left it will do a forward delete and delete the character to the right of the cursor. This is behavior expected of the &#8216;delete&#8217; key near the &#8216;home&#8217; and &#8216;end&#8217; buttons. Fortunately there&#8217;s a quick fix for this. Just open Terminal&#8217;s preferences. Locate the Advanced tab for the Terminal &#8216;profile&#8217; you use and check off the &#8216;Delete sends Ctrl-H&#8217; checkbox. Doing this will restore normal functionality.</p>
<p><img src="http://www.macintosh-admin.com/wp-content/uploads/2010/07/terminal-delete-key.png" alt="" title="terminal-delete-key" width="630" height="495" class="alignnone size-full wp-image-317" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2010/07/30/fixing-the-delete-key-in-terminalssh-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Subversion Repository on OS X Server</title>
		<link>http://www.macintosh-admin.com/2010/06/08/creating-a-subversion-repository-on-os-x-server/</link>
		<comments>http://www.macintosh-admin.com/2010/06/08/creating-a-subversion-repository-on-os-x-server/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 08:56:59 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Tutorials/Guides]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=314</guid>
		<description><![CDATA[I often find myself creating subversion repositories on my OS X Server. I&#8217;ve actually designated my OS X Server to be my Subversion server since Apple has been kind of enough to include the necessary software right out of the box. This applies to both OS X Leopard and Snow Leopard Server. I also find [...]]]></description>
			<content:encoded><![CDATA[<p>I often find myself creating subversion repositories on my OS X Server. I&#8217;ve actually designated my OS X Server to be my Subversion server since Apple has been kind of enough to include the necessary software right out of the box. This applies to both OS X Leopard and Snow Leopard Server. I also find that each time I find myself going back to this one website which includes instructions on how to get it all working. Rather then write our own guide I figured it would be just as easy to link you all to the site I use instead:</p>
<p><a href="http://agileshrugged.com/blog/?p=14">Subversion on OS X Leopard Server</a></p>
<p>It&#8217;s pretty simple to follow, basically you just use the svnadmin command to create the actual repository, then you need to activate a couple modules for Apache via Server Admin, then create a realm, and voila! One thing I do different from the guide, is that I create all my repositories in /usr/local/svn/ instead of /usr/local/. This is really just a personal preference thing, however my main reason is for neatness. I like to keep things organized. You of course can create the repositories where ever you&#8217;d like, even in your home folders if that&#8217;s your thing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2010/06/08/creating-a-subversion-repository-on-os-x-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning Up MySQL Binary Logs</title>
		<link>http://www.macintosh-admin.com/2010/01/18/cleaning-up-mysql-binary-logs/</link>
		<comments>http://www.macintosh-admin.com/2010/01/18/cleaning-up-mysql-binary-logs/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 19:02:52 +0000</pubDate>
		<dc:creator>morgant</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=290</guid>
		<description><![CDATA[While Jimmy has previously covered disabling MySQL&#8217;s binary logging for those who don&#8217;t need it and don&#8217;t want to worry about the unexpected disk space usage, others prefer to merely purge older binary logs to reclaim disk space. MySQL&#8217;s binary logs live in /var/mysql and appear as mysql-bin.000001. Some of my servers merely hosting a [...]]]></description>
			<content:encoded><![CDATA[<p>While Jimmy has previously covered <a href="/2008/11/27/mysql-binary-logging/">disabling MySQL&#8217;s binary logging</a> for those who don&#8217;t need it and don&#8217;t want to worry about the unexpected disk space usage, others prefer to merely purge older binary logs to reclaim disk space. MySQL&#8217;s binary logs live in <code>/var/mysql</code> and appear as <code>mysql-bin.000001</code>. Some of my servers merely hosting a few weblogs have bin logs taking up 4K-1MB, but others hosting large web applications have bin logs in the 1GB range. The last thing you want is for the drive hosting your MySQL databases to fill up unexpectedly.</p>
<p>Here&#8217;s a one-liner for removing all MySQL bin logs older than 30 days:</p>
<p><code>
<pre>sudo find /var/mysql -name "mysql-bin.0*" -mtime +30 -exec rm {} +</pre>
<p></code></p>
<p>Obviously, any command like this that automates deletion of potentially needed data could be disastrous, so make sure you have a good backup of your data before you try it. The benefit of the above command is that you can remove &#8216;<code>-exec rm {} +</code>&#8216; from the end of it to do a dry-run without actually removing any files and it&#8217;ll merely list the file names. Also, if you want preserve all bin logs newer than 60 days, simply change to read &#8216;<code>-mtime +60</code>&#8216;, or whatever best fits your needs.</p>
<p>Depending on your usage &#038; backup setup, you could certainly automate this using <code>cron</code> or launchd.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2010/01/18/cleaning-up-mysql-binary-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Kill Orphaned launchd Jobs</title>
		<link>http://www.macintosh-admin.com/2009/12/31/how-to-kill-orphaned-launchd-jobs/</link>
		<comments>http://www.macintosh-admin.com/2009/12/31/how-to-kill-orphaned-launchd-jobs/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 13:27:16 +0000</pubDate>
		<dc:creator>morgant</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=282</guid>
		<description><![CDATA[Have you ever accidentally edited, moved, or deleted a launchd daemon/agent plist file without stopping the job first and then found you couldn&#8217;t unload it? I&#8217;ve done this on a few occasions and learned the following trick from the launchctl man page, just run `sudo launchctl remove &#60;job_label&#62;`. The &#60;job_label&#62; should be the job&#8217;s &#8216;Label&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever accidentally edited, moved, or deleted a <a href="http://launchd.macosforge.org/">launchd</a> daemon/agent plist file without stopping the job first and then found you couldn&#8217;t unload it? I&#8217;ve done this on a few occasions and learned the following trick from the launchctl man page, just run `<code>sudo launchctl remove &lt;job_label&gt;</code>`. The <code>&lt;job_label&gt;</code> should be the job&#8217;s &#8216;Label&#8217; specified in the plist file (the reverse domain notation used in the plist filename, e.g. &#8216;tld.domain.job&#8217; if the filename is &#8216;tld.domain.job.plist&#8217;) or you can look it up using `<code>sudo launchctl list</code>`.</p>
<p>A little background in case you&#8217;re interested: the &#8216;remove&#8217; subcommand is there to counteract jobs added manually/programmatically using the &#8216;submit&#8217; subcommand, hence it working when the plist file is not there for you to use the &#8216;unload&#8217; subcommand (which requires a plist file).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2009/12/31/how-to-kill-orphaned-launchd-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Directory Replication and SSH Service ACLs</title>
		<link>http://www.macintosh-admin.com/2009/12/15/open-directory-replication-and-ssh-service-acls/</link>
		<comments>http://www.macintosh-admin.com/2009/12/15/open-directory-replication-and-ssh-service-acls/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 18:15:54 +0000</pubDate>
		<dc:creator>morgant</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=274</guid>
		<description><![CDATA[While configuring a Mac OS X 10.5 Leopard Server as an Open Directory Replica of a Leopard Open Directory Master I got &#8220;Open Directory Replica Error value = 1255" when it tried to start creating the replica. This error has to do with not being able to establish an ssh connection with the OD Master, [...]]]></description>
			<content:encoded><![CDATA[<p>While configuring a Mac OS X 10.5 Leopard Server as an Open Directory Replica of a Leopard Open Directory Master I got &#8220;<code>Open Directory Replica Error value = 1255"</code> when it tried to start creating the replica. This error has to do with not being able to establish an ssh connection with the OD Master, but the server in question had Remote Login enabled and, while I was using service level ACLs to limit ssh access, the admin user had ssh access.</p>
<p>However, although the root user and admin user share the same password by default, they&#8217;re not the same user and I couldn&#8217;t ssh in as root. Oddly, the root user isn&#8217;t an option to add to service level ACLs in Server Admin (at least for that Leopard Server installation). A quick search pulled a knowledge base article regading being <a href="http://support.apple.com/kb/TA24269">unable to add the root user to service-based ACL for SSH</a> which tells you to run the following command to add it manually:</p>
<p><code>sudo dseditgroup -o edit -a root -t user com.apple.access_ssh</code></p>
<p>Sure enough, it worked like a charm and now root shows up as &#8220;System Administrator&#8221; in the SSH service level ACLs in Server Admin:</p>
<p><img style="display: block; margin: 1em auto;" src="http://www.macintosh-admin.com/wp-content/uploads/2009/12/server_admin-service_acls-ssh-system_administrator.png" alt="" width="607" height="351" /></p>
<p>Naturally, I was then able to ssh in as root and the Open Directory Replica creation went off without a hitch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2009/12/15/open-directory-replication-and-ssh-service-acls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Swamped by ServicesInformation Errors</title>
		<link>http://www.macintosh-admin.com/2009/11/30/swamped-by-servicesinformation-errors/</link>
		<comments>http://www.macintosh-admin.com/2009/11/30/swamped-by-servicesinformation-errors/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 22:29:58 +0000</pubDate>
		<dc:creator>morgant</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=269</guid>
		<description><![CDATA[Here was a new one for me. A Mac OS X 10.5 Leopard Server file server had been unresponsive to Apple Remote Desktop and wouldn&#8217;t display video for about a week. I could still SSH in and the AFP services it hosted were functioning normally, so I left it for a &#8220;later&#8221; project. Well, this [...]]]></description>
			<content:encoded><![CDATA[<p>Here was a new one for me. A Mac OS X 10.5 Leopard Server file server had been unresponsive to Apple Remote Desktop and wouldn&#8217;t display video for about a week. I could still SSH in and the AFP services it hosted were functioning normally, so I left it for a &#8220;later&#8221; project. Well, this morning I was notified that some of the AFP shares were no longer listed due to a power outage affecting the RAIDs connected to it.</p>
<p>No worries, restarting the AFP service or rebooting should resolve that. Only it didn&#8217;t. There was high usage by <code>syslogd</code> and I found tons of the following messages in <code>/var/log/system.log</code>:</p>
<pre><code>Record of type dsRecTypeStandard:Config named ‘ServicesInformation’ already exists in /Local/Default. Trying with new name: ServicesInformation1</code></pre>
<p>Others have run into <a href="http://discussions.apple.com/thread.jspa?messageID=8393887#8909261">this</a> <a href="http://www.massey.ac.nz/~fherbert/?p=1">before</a>, and it seems to be a corruption of <code>/var/db/dslocal/nodes/Default/config/ServicesInformation.plist</code>. In my case, there was some file system corruption, so I did the following:</p>
<ol>
<li>Booted from another drive w/Disk Utility and SuperDuper!</li>
<li>Verified the disk using Disk Utility (which failed.)</li>
<li>Backed up the drive with SuperDuper! (Just in case.)</li>
<li>Repaired the volume with Disk Utility (successfully.)</li>
<li>Booted into <a href="http://support.apple.com/kb/HT1492">Single User Mode</a>.</li>
<li>Backed up <code>/var/db/dslocal/nodes/Default/config/ServicesInformation.plist</code> and removed all the extra <code>ServicesInformation*.plist</code> files.</li>
<li>Rebooted from the original boot drive.</li>
</ol>
<p>What I found while fixing this:</p>
<ul>
<li>The <code>ServicesInformation.plist</code> was corrupted and contained text regarding a disk full error, so that&#8217;s likely the cause of the corruption.</li>
<li>I was able to just delete <code>ServicesInformation.plist</code> and let it regenerate without detrimental effects, but be dubious.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2009/11/30/swamped-by-servicesinformation-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stripping All ACLs</title>
		<link>http://www.macintosh-admin.com/2009/11/18/stripping-all-acls/</link>
		<comments>http://www.macintosh-admin.com/2009/11/18/stripping-all-acls/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:14:14 +0000</pubDate>
		<dc:creator>morgant</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=263</guid>
		<description><![CDATA[I&#8217;ll admit it: I rarely ever work with Access Control Lists. Most of my time is spent in web server land where POSIX permissions are more than adequate, so I just fire up Server Admin if I have to add an ACL. However, a co-worker recently ran into an ACL mess after a client converted [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll admit it: I rarely ever work with Access Control Lists. Most of my time is spent in web server land where POSIX permissions are more than adequate, so I just fire up Server Admin if I have to add an ACL.</p>
<p>However, a co-worker recently ran into an ACL mess after a client converted their server from Standalone to Open Directory Master and back again. So, how to strip all ACLs so you can start over? It&#8217;s probably dangerous or some command I&#8217;m not familiar with, right? Nope.</p>
<p>The following call to <code>chmod</code> will recursively remove all ACLs:</p>
<p><code>chmod -RN /path/to/directory</code></p>
<p>Voilà!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2009/11/18/stripping-all-acls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flush Your Firewall</title>
		<link>http://www.macintosh-admin.com/2009/11/17/flush-your-firewall/</link>
		<comments>http://www.macintosh-admin.com/2009/11/17/flush-your-firewall/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 20:32:45 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=261</guid>
		<description><![CDATA[The other day I was having some issues with my VPN and Mail server working correctly. After narrowing down the issue to it being my firewall blocking the issue, I went out on a hunt to locate the possibility to be able to flush out the current rules from the firewall. OS X Leopard Server [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was having some issues with my VPN and Mail server working correctly. After narrowing down the issue to it being my firewall blocking the issue, I went out on a hunt to locate the possibility to be able to flush out the current rules from the firewall. OS X Leopard Server uses ipfw as it&#8217;s firewall implementation. Even OS X Leopard client uses ipfw! Fortunately it&#8217;s pretty similar to iptables which we also use on our Linux servers so there was a way to flush out the current rules. Simply using the following command will remove all the rules that haven&#8217;t been saved (which can be done either via the command line or through that nice Server Admin GUI tool):</p>
<p><code>sudo /sbin/ipfw -f flush</code></p>
<p>Once that&#8217;s run, you have have a peek back inside the Server Admin tool and you&#8217;ll notice under the Active Rules there should be none or only a couple. You can also show the list from the command line (which you&#8217;ll probably want to do under client since it doesn&#8217;t work with the Server Admin tool. Use this command to do so:</p>
<p><code>bash-3.2$ sudo /sbin/ipfw list<br />
65535 allow ip from any to any</code></p>
<p>As you can see, I allow everything on my client machine, but on the server:</p>
<p><code>palomino:etc jimmybrancaccio$ sudo /sbin/ipfw list<br />
00001 allow udp from any 626 to any dst-port 626<br />
00010 divert 8668 ip from any to any via en0<br />
03885 deny ip from 58.251.59.9 to any<br />
03890 deny ip from 89.96.140.154 to any<br />
03895 deny ip from 211.143.101.226 to any<br />
03900 deny ip from 212.222.147.130 to any<br />
03905 deny ip from 58.185.182.212 to any<br />
03910 deny ip from 76.17.182.127 to any<br />
03915 deny ip from 202.102.245.109 to any<br />
65535 allow ip from any to any</code></p>
<p>There&#8217;s currently some blocks in place. Anyways, just a couple useful ipfw commands!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2009/11/17/flush-your-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colors In Terminal!</title>
		<link>http://www.macintosh-admin.com/2009/11/03/colors-in-terminal/</link>
		<comments>http://www.macintosh-admin.com/2009/11/03/colors-in-terminal/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 20:06:55 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.macintosh-admin.com/?p=256</guid>
		<description><![CDATA[Looking for a way to jazz up your Terminal.app? Here&#8217;s a quick and easy way to do so! Open up Terminal first, then type in nano -w ~/.bash_profile This will open a command line-based text editor. The file you&#8217;re editing is one that gets loaded every time you open a new Terminal window (or tab). [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.macintosh-admin.com/wp-content/uploads/2009/11/dircolors-osx.png" alt="dircolors-osx" title="dircolors-osx" width="566" height="315" class="alignnone size-full wp-image-257" /></p>
<p>Looking for a way to jazz up your Terminal.app? Here&#8217;s a quick and easy way to do so! Open up Terminal first, then type in nano -w ~/.bash_profile This will open a command line-based text editor. The file you&#8217;re editing is one that gets loaded every time you open a new Terminal window (or tab). Paste or type in the following at the end of the document:</p>
<p><code>export CLICOLOR=1</code></p>
<p>Then hit Ctrl+O and Ctrl+X. These key commands save the file and exit the editor. Now, open a new Terminal window and type in ls. This will list the contents of the folder you&#8217;re in (which should be your home folder) and the titles of the folders should be colored as shown in the above screenshot! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.macintosh-admin.com/2009/11/03/colors-in-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

