<?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>FreeMacUnix.com &#187; Mac</title>
	<atom:link href="http://www.freemacunix.com/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freemacunix.com</link>
	<description>Terminal for the Rest of Us</description>
	<lastBuildDate>Sat, 26 Nov 2011 10:42:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Want An OS X Dock On Your Linux Box?</title>
		<link>http://www.freemacunix.com/want-an-os-x-dock-on-your-linux-box/</link>
		<comments>http://www.freemacunix.com/want-an-os-x-dock-on-your-linux-box/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 14:24:21 +0000</pubDate>
		<dc:creator>Chad Sweely</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/?p=151</guid>
		<description><![CDATA[If you are an Linux user and want your desktop looking more like Apple OS X, this post is for you. One of the cool things that Apple&#8217;s OS X operating system includes is the dock down at the bottom of the main desktop window. This makes your commonly-used programs easy to get to without [...]]]></description>
			<content:encoded><![CDATA[<p>If you are an Linux user and want your desktop looking more like Apple OS X, this post is for you. One of the cool things that Apple&#8217;s OS X operating system includes is the dock down at the bottom of the main desktop window. This makes your commonly-used programs easy to get to without having to go through a process of searching for them.</p>
<p>With this in mind, there is an application that you can install on your Linux box that acts a dock for you. This application is called <a href="http://kdocker.sourceforge.net/" target="_blank" title="KDocker">KDocker</a>. </p>
<p align="center"><a href="http://kdocker.sourceforge.net/" title="KDocker" target="_blank"><img src="http://www.freemacunix.com/images/fmu_kdocker.jpg" title="KDocker" border=0 /></a></p>
<p><span id="more-151"></span>
<p>This application is available for the following Linux distributions:</p>
<ul>
<li>Suse</li>
<li>Slackware</li>
<li>Red Hat</li>
<li>Debian</li>
<li>Kubuntu</li>
</ul>
<p>For easy install in Ubuntu/Gnome, you can perform the following syntax in at the command line:</p>
<p align="center"><code>sudo apt-get install kdocker</code></p>
<p>This application is great for making your Linux GUI&#8217;s appearance like Apple OS X! <img src='http://www.freemacunix.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/want-an-os-x-dock-on-your-linux-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Change Login Screen Background Via Terminal</title>
		<link>http://www.freemacunix.com/how-to-change-login-screen-background-via-terminal/</link>
		<comments>http://www.freemacunix.com/how-to-change-login-screen-background-via-terminal/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 19:58:54 +0000</pubDate>
		<dc:creator>Chad Sweely</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/?p=123</guid>
		<description><![CDATA[Sick and tired of the same old bluish background of the Mac OS X login screen? I have now found out a way to change it out. Simply modify/replace the following files: /System/Library/CoreServices/DefaultDesktop .jpg (Leopard users) /Library/Preferences/com.apple.loginwindow (Tiger users: modify this file) Once this has been done, open a Terminal window and execute this line [...]]]></description>
			<content:encoded><![CDATA[<p>Sick and tired of the same old bluish background of the Mac OS X login screen? I have now found out a way to change it out. Simply modify/replace the following files:</p>
<p><code>/System/Library/CoreServices/DefaultDesktop<br />
.jpg</code> (Leopard users)</p>
<p><code>/Library/Preferences/com.apple.loginwindow</code> (Tiger users: modify this file)</p>
<p>Once this has been done, open a Terminal window and execute this line at the command prompt: </p>
<p><code>sudo defaults write<br />
/Library/Preferences/com.apple.loginwindow<br />
DesktopPicture '/Path/To/Picture.jpg'</code> (all on one line)</p>
<p>Once this has been done, log out of your account. When you log out, you should instantly see the changes that you have made.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/how-to-change-login-screen-background-via-terminal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Play Tetris in Emacs</title>
		<link>http://www.freemacunix.com/play-tetris-in-emacs/</link>
		<comments>http://www.freemacunix.com/play-tetris-in-emacs/#comments</comments>
		<pubDate>Wed, 06 May 2009 18:39:27 +0000</pubDate>
		<dc:creator>Chad Sweely</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/?p=82</guid>
		<description><![CDATA[If you&#8217;re ever using Emacs (Extensible Macro System) as an editor and feeling bored, you can always play Tetris in it. Playing Tetris in Emacs only works in the GNU environment which Mac OS X also runs under. The steps for running Tetris in Emacs have been provided below: In Terminal, type emacs at the [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re ever using Emacs (Extensible Macro System) as an editor and feeling bored, you can always play Tetris in it. Playing Tetris in Emacs only works in the GNU environment which Mac OS X also runs under. The steps for running Tetris in Emacs have been provided below:</p>
<ol>
<li>In <em>Terminal</em>, type <code>emacs</code> at the comment. Emacs will then appear for you.</li>
<li>In the Emacs window, press <em>&lt;ESC&gt;</em>. This will bring you to the note buffer section (shown below).<br />
<img src="http://www.freemacunix.com/images/thumb_emacs1.jpg" /></li>
<p><span id="more-82"></span></p>
<li>Once you are in the buffer section, press <code>x</code>, type in <code>tetris</code>, and then hit Enter. </li>
<li>Tetris will then appear for you (shown below).<br />
<img src="http://www.freemacunix.com/images/thumb_emacs2.jpg" /></li>
</ol>
<p>To move your pieces around in Tetris, use your right/left arrow keys in the direction you want the piece to move. Your up/down arrow keys will change the position of the piece, and your space bar will shoot the piece down the bottom. </p>
<p>This is a fun and interesting Easter Egg included in this classic editor!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/play-tetris-in-emacs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Make the most of the Mac OS X&#8217;s command line</title>
		<link>http://www.freemacunix.com/make-the-most-of-the-mac-os-xs-command-line/</link>
		<comments>http://www.freemacunix.com/make-the-most-of-the-mac-os-xs-command-line/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 20:14:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[visor]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/make-the-most-of-the-mac-os-xs-command-line/</guid>
		<description><![CDATA[If you&#8217;re like most Mac users, the UNIX command line is the red-headed stepchild of the operating system. It&#8217;s always there, but you&#8217;re not going to acknowledge its existence &#8212; that is, until you need to run an SQL query, make an rsync backup, or generally muck about in the system internals. Thankfully, TheAppleBlog&#8217;s Andrew [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like most Mac users, the UNIX command line is the red-headed stepchild of the operating system. It&#8217;s always there, but you&#8217;re not going to acknowledge its existence &#8212; that is, until you need to run an SQL query, make an rsync backup, or generally muck about in the system internals.</p>
<p>Thankfully, <a href="http://theappleblog.com/2009/03/26/terminal-tips-using-the-command-line-with-style/#more-19907">TheAppleBlog&#8217;s Andrew Bednarz has assembled a compendium</a> of Mac OS X terminal tips, tweaks, and tricks. He shows how to use Visor, a cool program that provides an always-accessible pulldown terminal prompt just like the console in the video game Quake. He also shares some insider UNIX knowledge on tweaking Terminal.app to display color-coded directory listings and more informative command prompts.</p>
<p>Go check out his list of tips. Your command line will thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/make-the-most-of-the-mac-os-xs-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alias</title>
		<link>http://www.freemacunix.com/alias/</link>
		<comments>http://www.freemacunix.com/alias/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 14:02:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/alias/</guid>
		<description><![CDATA[The alias command is very useful. It is kind of a shortcut in some ways. I get tired of tying ls -la so I can see all the info for my files so what i do is type alias ls 'ls -la'. What this command does is that it sets up an alias so that [...]]]></description>
			<content:encoded><![CDATA[<p>The <code>alias</code> command is very useful. It is kind of a shortcut in some ways. I get tired of tying <code>ls -la</code> so I can see all the info for my files so what i do is type <code>alias ls 'ls -la'</code>. What this command does is that it sets up an alias so that every time I type <code>ls</code> the computer treats is as though I typed <code>ls -la</code>. There are many other things you can do also. Say you have a long command you run a lot. You can alias it to something like mc.</p>
<p>Ex: <code>alias mc 'locate log_error | grep -R 192.168.1.1 *'</code></p>
<p>Your command can be as long or as short that you want to alias. I also use it to setup ssh connections.</p>
<p>Ex: <code>alias con1 'ssh usrname@192.168.1.1'</code></p>
<p>Now any time I type con1 it will try to make an ssh connection to that ip address.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/alias/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The diff command</title>
		<link>http://www.freemacunix.com/the-diff-command/</link>
		<comments>http://www.freemacunix.com/the-diff-command/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 15:13:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/the-diff-command/</guid>
		<description><![CDATA[The diff command is a very useful command to see the differences between two files. An example of this command would be diff file1.txt file2.txt It takes file2.txt and compares it to file1.txt and displays the differences that are in file2.txt. You may also want to use the -b options in the command because that [...]]]></description>
			<content:encoded><![CDATA[<p>The diff command is a very useful command to see the differences between two files. An example of this command would be</p>
<p><code>diff file1.txt file2.txt</code></p>
<p>It takes file2.txt and compares it to file1.txt and displays the differences that are in file2.txt. You may also want to use the <code>-b</code> options in the command because that will allow it to ignore differences in white space. This command is very useful in programming when you have a backup version of a script that you just modified.  If the script no longer works it can help you track down bugs, by looking at backup version of the script that does work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/the-diff-command/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The kill command</title>
		<link>http://www.freemacunix.com/the-kill-command/</link>
		<comments>http://www.freemacunix.com/the-kill-command/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 14:16:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/the-kill-command/</guid>
		<description><![CDATA[Today we are going to look at a command that you don&#8217;t use very much in a Unix environment. The kill command. It is used when an application is stuck or not responding. The basic form of the command is kill [option]... PID. The PID is the process ID, you can get it by using [...]]]></description>
			<content:encoded><![CDATA[<p>Today we are going to look at a command that you don&#8217;t use very much in a Unix environment. The <code>kill</code> command. It is used when an application is stuck or not responding. The basic form of the command is <code>kill [option]... PID</code>. The PID is the process ID, you can get it by using the <code>top</code> command that I talked about previously. The most common option for the <code>kill</code> command is the <code>-9</code> option. It will kill the process immediately.</p>
<p>Example</p>
<p><code>kill -9 2342</code></p>
<p>If you type <code>top</code> again you should see that the process that was associated with that PID is no longer running.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/the-kill-command/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Top</title>
		<link>http://www.freemacunix.com/top/</link>
		<comments>http://www.freemacunix.com/top/#comments</comments>
		<pubDate>Thu, 01 May 2008 13:47:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/top/</guid>
		<description><![CDATA[Top is a great command when you are trying to see all of your running processes. It also gives a great deal of other information. It is broken down into four categories &#8211; tasks, cpu, mem, and swap. Tasks tells you about the processes that are running. Cpu tells you your processor load. Mem tells [...]]]></description>
			<content:encoded><![CDATA[<p><code>Top</code> is a great command when you are trying to see all of your running processes. It also gives a great deal of other information. It is broken down into four categories &#8211; tasks, cpu, mem, and swap. Tasks tells you about the processes that are running. Cpu tells you your processor load. Mem tells you about the total memory you have, how much is being used, and how much is free. Swap Is just like mem except it deals with your swap partition.</p>
<p>Below, you will see all the processes that are running on your computer. It gives most of the info about the processes that you will ever need to know. The main columns I focus on are PID, USER, %CPU, and %MEM. They are to me the most useful. PID is the process ID which is very useful when a program freezes. USER is who is running the program. %CPU is the amount of processing power the program is using. %MEM IS the amount of memory the program is taking up.</p>
<p><code>Top</code> by itself only gives you information on what is running, but when you combine it with other commands, it makes it very powerful. We will get into that next time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/top/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching for a File with a Specific String in the File.</title>
		<link>http://www.freemacunix.com/searching-for-a-file-with-a-specific-string-in-the-file/</link>
		<comments>http://www.freemacunix.com/searching-for-a-file-with-a-specific-string-in-the-file/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 15:46:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/searching-for-a-file-with-a-specific-string-in-the-file/</guid>
		<description><![CDATA[To accomplish this I am going to show you a new command and then use &#124; and grep with it. The command is locate. Your computer has a database that has the path names and files that are publicly accessible on your computer. Locate searches that database for all the pathnames and finds the one [...]]]></description>
			<content:encoded><![CDATA[<p>To accomplish this I am going to show you a new command and then use <code>|</code> and <code>grep</code> with it. The command is <code>locate</code>.  Your computer has a database that has the path names and files that are publicly accessible on your computer. Locate searches that database for all the pathnames and finds the one you are looking for. It is probably the easiest command to remember and use. You just type locate then what you are looking for.</p>
<p>Example:</p>
<p><code>locate report</code></p>
<p>You can also search for all files with a certain extension.</p>
<p>Example:</p>
<p><code>locate '*.jpg'</code></p>
<p>You may be saying why would I want to do such a specific search? Well lets say you are a web designer that need to modify a template file for all your websites that contain a certain function. Say the function was called capcha and all your template files end in .tpl. You would use you the <code>|</code> command to combine the two function together to accomplish this.</p>
<p>Example:</p>
<p><code>locate '*.tpl' | grep -R 'capcha' *</code></p>
<p>This works by running the <code>locate</code> command and then using <code>grep</code> on just the file names that <code>locate</code> returns. Yes you could just type  <code>grep -R 'capcha' *</code>, but you would have to be in the root directory of your hard drive and the <code>grep</code> command would search every file on our computer. That would take a long time to complete, and if you are running the search on a web server you could bring it to its knees.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/searching-for-a-file-with-a-specific-string-in-the-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grep</title>
		<link>http://www.freemacunix.com/grep/</link>
		<comments>http://www.freemacunix.com/grep/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 15:19:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Essentials]]></category>
		<category><![CDATA[Lessons]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.freemacunix.com/grep/</guid>
		<description><![CDATA[Grep is a very powerful command in the Unix world. It allows you to search for words in documents. This is very useful if you are trying to find bugs in code or just tracking down certain files. The basic structure of a grep statement is below. grep -R "string you are looking for" * [...]]]></description>
			<content:encoded><![CDATA[<p>Grep is a very powerful command in the Unix world. It allows you to search for words in documents. This is very useful if you are trying to find bugs in code or just tracking down certain files.</p>
<p>The basic structure of a grep statement is below.</p>
<p><code> grep -R "string you are looking for" * </code></p>
<p>The -R in the statement means you want to search recursively. Make sure you put the &#8220;&#8221; around your string or you will get an error when you try to execute the command. The * means that the preceding item will be matched zero or more times.</p>
<p>Their are many more options that can be added into the grep function to make it even more useful. To find them type the following into the command line.</p>
<p><code> man grep </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freemacunix.com/grep/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

