<?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: 5 useful Mac OS X command line tips you should know</title>
	<atom:link href="http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Mon, 13 Feb 2012 01:29:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Natty</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-110553</link>
		<dc:creator>Natty</dc:creator>
		<pubDate>Fri, 13 Aug 2010 00:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-110553</guid>
		<description>I added the following to my .bashrc file so that my time-intensive commands wouldn&#039;t die if I exited terminal.

shopt -u huponexit
ulimit -s unlimited</description>
		<content:encoded><![CDATA[<p>I added the following to my .bashrc file so that my time-intensive commands wouldn&#8217;t die if I exited terminal.</p>
<p>shopt -u huponexit<br />
ulimit -s unlimited</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eliza sahoo</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-99547</link>
		<dc:creator>Eliza sahoo</dc:creator>
		<pubDate>Mon, 18 Jan 2010 09:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-99547</guid>
		<description>Hi, 
    Though i am not a very technical person.but i found your article very informative</description>
		<content:encoded><![CDATA[<p>Hi,<br />
    Though i am not a very technical person.but i found your article very informative</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robig</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-97361</link>
		<dc:creator>robig</dc:creator>
		<pubDate>Thu, 22 Oct 2009 05:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-97361</guid>
		<description>Expanding the possibilities of !! (last command):
!ssh = last command starting with ssh

ctrl+r = reverse search in last commands

ctrl +d = logout (close terminal if enabled in the terminal options)

ctrl +c = abort current command (also when still typing it)

cd foo; .. do somtehing in foo ...; cd $OLDPWD

there are sooo many more....
im switched from linux to mac btw ;)

robig</description>
		<content:encoded><![CDATA[<p>Expanding the possibilities of !! (last command):<br />
!ssh = last command starting with ssh</p>
<p>ctrl+r = reverse search in last commands</p>
<p>ctrl +d = logout (close terminal if enabled in the terminal options)</p>
<p>ctrl +c = abort current command (also when still typing it)</p>
<p>cd foo; .. do somtehing in foo &#8230;; cd $OLDPWD</p>
<p>there are sooo many more&#8230;.<br />
im switched from linux to mac btw <img src='http://osxdaily.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>robig</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DrewMerkle</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-89140</link>
		<dc:creator>DrewMerkle</dc:creator>
		<pubDate>Thu, 05 Feb 2009 21:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-89140</guid>
		<description>The true hackers out there will think I&#039;m explaining the obvious, but for me, these were some good discoveries when I learned them. This seems an appropriate place to add them as comments. 

The ampersand (&quot;&amp;&quot;) at the end of a command is useful for executing that command in the background and returning control to your terminal, but if you log out (close the terminal window, and so on) that command will be killed. Frustrating for those new to the art of the command line. 

Sometimes the &quot;nohup&quot; command placed ahead of the rest of the command line is quite useful in this regard. &quot;nohup&quot; in this case immunizes a command from a &quot;hang up&quot;, which in the dawn of the computer age used to happen to a computer terminal connected via acoustic coupler modem to a mainframe... The ampersand can be combined with &quot;nohup&quot; to immediately send the immunized to the background. 

Don&#039;t forget you can pipe the output to a file with the &quot;&gt; file.txt&quot; sort of thing. Example: 

   nohup command -option -option &gt; output.txt &amp; 

Even more fun is the &quot;screen&quot; command. &quot;screen&quot; allows you to create virtual text-mode screens which live on the system even when you log out and you can reconnect to them later to interact if needed. Very useful for starting something, going home, having a family life, and then checking back to see if your very long command has done anything useful. 

Type &quot;man nohup&quot; and &quot;man screen&quot; for more information.</description>
		<content:encoded><![CDATA[<p>The true hackers out there will think I&#8217;m explaining the obvious, but for me, these were some good discoveries when I learned them. This seems an appropriate place to add them as comments. </p>
<p>The ampersand (&#8220;&amp;&#8221;) at the end of a command is useful for executing that command in the background and returning control to your terminal, but if you log out (close the terminal window, and so on) that command will be killed. Frustrating for those new to the art of the command line. </p>
<p>Sometimes the &#8220;nohup&#8221; command placed ahead of the rest of the command line is quite useful in this regard. &#8220;nohup&#8221; in this case immunizes a command from a &#8220;hang up&#8221;, which in the dawn of the computer age used to happen to a computer terminal connected via acoustic coupler modem to a mainframe&#8230; The ampersand can be combined with &#8220;nohup&#8221; to immediately send the immunized to the background. </p>
<p>Don&#8217;t forget you can pipe the output to a file with the &#8220;&gt; file.txt&#8221; sort of thing. Example: </p>
<p>   nohup command -option -option &gt; output.txt &amp; </p>
<p>Even more fun is the &#8220;screen&#8221; command. &#8220;screen&#8221; allows you to create virtual text-mode screens which live on the system even when you log out and you can reconnect to them later to interact if needed. Very useful for starting something, going home, having a family life, and then checking back to see if your very long command has done anything useful. </p>
<p>Type &#8220;man nohup&#8221; and &#8220;man screen&#8221; for more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Oakes</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-87344</link>
		<dc:creator>Ben Oakes</dc:creator>
		<pubDate>Sat, 17 Jan 2009 16:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-87344</guid>
		<description>Note that the control character sequences listed here (i.e. ^L, ^A) are for Emacs mode.  If you&#039;d rather use vi keybindings at the shell, you can run `set -o vi`.  (To affect other programs, edit your .editrc and .inputrc.)  You start off in insert mode and can enter normal mode using  or ^[.</description>
		<content:encoded><![CDATA[<p>Note that the control character sequences listed here (i.e. ^L, ^A) are for Emacs mode.  If you&#8217;d rather use vi keybindings at the shell, you can run `set -o vi`.  (To affect other programs, edit your .editrc and .inputrc.)  You start off in insert mode and can enter normal mode using  or ^[.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-87137</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Wed, 14 Jan 2009 18:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-87137</guid>
		<description>I find the !! (execute last command) really helpful if I forget to type sudo before a command.  You can just type sudo !! and the last command will be executed as root (assuming you&#039;re in the sudoers file).</description>
		<content:encoded><![CDATA[<p>I find the !! (execute last command) really helpful if I forget to type sudo before a command.  You can just type sudo !! and the last command will be executed as root (assuming you&#8217;re in the sudoers file).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-77596</link>
		<dc:creator>Antonio</dc:creator>
		<pubDate>Thu, 23 Oct 2008 10:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-77596</guid>
		<description>So, all of this is &quot;standard&quot; shell use of many unix boxes... Many more things work also in the Mac OS X shell, like Ctrl-a/Crtl-e to move to the beginning/end of the line, etc


A.</description>
		<content:encoded><![CDATA[<p>So, all of this is &#8220;standard&#8221; shell use of many unix boxes&#8230; Many more things work also in the Mac OS X shell, like Ctrl-a/Crtl-e to move to the beginning/end of the line, etc</p>
<p>A.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-77595</link>
		<dc:creator>Antonio</dc:creator>
		<pubDate>Thu, 23 Oct 2008 10:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-77595</guid>
		<description>So, all of this is &quot;standard&quot; shell use of many unix boxes... Many more things work also in the Mac OS X shell, like Ctrl-a/Crtl-e to move to the beginning/end of the line, etc


A.</description>
		<content:encoded><![CDATA[<p>So, all of this is &#8220;standard&#8221; shell use of many unix boxes&#8230; Many more things work also in the Mac OS X shell, like Ctrl-a/Crtl-e to move to the beginning/end of the line, etc</p>
<p>A.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-61970</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Tue, 08 Jul 2008 22:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/#comment-61970</guid>
		<description>Hey,

another way to run or rather put a started process in the background is by interrupting the current process with ctrl+z, then typing &quot;bg&quot; to re-activate it in the background. If you happen to need it in the foreground again, simply type &quot;fg&quot;. The latter one does also work for processes started in the background with &quot;&amp;&quot;.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>another way to run or rather put a started process in the background is by interrupting the current process with ctrl+z, then typing &#8220;bg&#8221; to re-activate it in the background. If you happen to need it in the foreground again, simply type &#8220;fg&#8221;. The latter one does also work for processes started in the background with &#8220;&amp;&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>


<!-- W3 Total Cache: Page cache debug info:
Engine:             disk (enhanced)
Key:                2008/06/29/5-useful-mac-os-x-command-line-tips-you-should-know/feed/_index.html
Caching:            disabled
Reject reason:      user agent is rejected
Status:             not cached
Creation Time:      0.126s
Header info:
X-Pingback:         http://osxdaily.com/xmlrpc.php
Last-Modified:      Mon, 13 Feb 2012 01:29:35 GMT
ETag:               "05e6f7291eb0b0598dea2a796acd23c5"
X-Powered-By:       W3 Total Cache/0.9.1.3
Link:               <http://wp.me/ps4An-4t>; rel=shortlink
Content-Type:       text/xml; charset=UTF-8
-->
