<?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: Some bash aliases to speed up daily tasks</title>
	<atom:link href="http://www.jorgebernal.info/technology/some-bash-aliases-to-speed-up-daily-tasks/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jorgebernal.info/technology/some-bash-aliases-to-speed-up-daily-tasks</link>
	<description></description>
	<lastBuildDate>Sun, 11 Jul 2010 04:43:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marius Gedminas</title>
		<link>http://www.jorgebernal.info/technology/some-bash-aliases-to-speed-up-daily-tasks/comment-page-1#comment-1305</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Tue, 20 May 2008 14:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://koke.amedias.org/?p=184#comment-1305</guid>
		<description>BTW &#039;python -m SimpleHTTPServer&#039; is a shorter equivalent spelling of &#039;python -c &quot;import SimpleHTTPServer;SimpleHTTPServer.test()&quot;&#039;.</description>
		<content:encoded><![CDATA[<p>BTW &#8216;python -m SimpleHTTPServer&#8217; is a shorter equivalent spelling of &#8216;python -c &#8220;import SimpleHTTPServer;SimpleHTTPServer.test()&#8221;&#8216;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Day</title>
		<link>http://www.jorgebernal.info/technology/some-bash-aliases-to-speed-up-daily-tasks/comment-page-1#comment-1304</link>
		<dc:creator>Eric Day</dc:creator>
		<pubDate>Tue, 20 May 2008 06:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://koke.amedias.org/?p=184#comment-1304</guid>
		<description>As a general security rule, you usually want to disable remote root login. I&#039;d suggest adding:

PermitRootLogin no

To your sshd_config and restart sshd while we&#039;re editing files. :)

Also, if you&#039;re a tcsh user (yes, we still exist!), play with the &#039;complete&#039; command:

complete ssh &#039;p/1/(eday@host1.com someone@somewhere.com kitchensink.com)/&#039;
complete cd &#039;p/1/d/&#039;

This allows you to program your own TAB auto-complete options (instead of normal files). The cd example will only auto-complete with directory entries (hence the d). The ssh one:

ssh e

would auto-complete to

ssh eday@host1.com

I&#039;m guessing there is some bash equivalent but I&#039;ve not checked.</description>
		<content:encoded><![CDATA[<p>As a general security rule, you usually want to disable remote root login. I&#8217;d suggest adding:</p>
<p>PermitRootLogin no</p>
<p>To your sshd_config and restart sshd while we&#8217;re editing files. <img src='http://www.jorgebernal.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also, if you&#8217;re a tcsh user (yes, we still exist!), play with the &#8216;complete&#8217; command:</p>
<p>complete ssh &#8216;p/1/(eday@host1.com <a href="mailto:someone@somewhere.com">someone@somewhere.com</a> kitchensink.com)/&#8217;<br />
complete cd &#8216;p/1/d/&#8217;</p>
<p>This allows you to program your own TAB auto-complete options (instead of normal files). The cd example will only auto-complete with directory entries (hence the d). The ssh one:</p>
<p>ssh e</p>
<p>would auto-complete to</p>
<p>ssh <a href="mailto:eday@host1.com">eday@host1.com</a></p>
<p>I&#8217;m guessing there is some bash equivalent but I&#8217;ve not checked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noob</title>
		<link>http://www.jorgebernal.info/technology/some-bash-aliases-to-speed-up-daily-tasks/comment-page-1#comment-1303</link>
		<dc:creator>Noob</dc:creator>
		<pubDate>Tue, 20 May 2008 06:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://koke.amedias.org/?p=184#comment-1303</guid>
		<description>Hi, can you explain what are these for exactly to the novices?Is it about optimization or else?Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi, can you explain what are these for exactly to the novices?Is it about optimization or else?Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Presta</title>
		<link>http://www.jorgebernal.info/technology/some-bash-aliases-to-speed-up-daily-tasks/comment-page-1#comment-1302</link>
		<dc:creator>Nick Presta</dc:creator>
		<pubDate>Tue, 20 May 2008 01:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://koke.amedias.org/?p=184#comment-1302</guid>
		<description>Here are a couple more I use:

alias ls=&#039;ls --color -F&#039;
alias rm=&#039;rm -i&#039; # personal preference, I suppose.
alias grep=&#039;grep --color=tty -d skip&#039;
alias egrep=&#039;egrep --color=tty -d skip&#039;
alias fgrep=&#039;fgrep --color=tty -d skip&#039;

Good tips, thanks!</description>
		<content:encoded><![CDATA[<p>Here are a couple more I use:</p>
<p>alias ls=&#8217;ls &#8211;color -F&#8217;<br />
alias rm=&#8217;rm -i&#8217; # personal preference, I suppose.<br />
alias grep=&#8217;grep &#8211;color=tty -d skip&#8217;<br />
alias egrep=&#8217;egrep &#8211;color=tty -d skip&#8217;<br />
alias fgrep=&#8217;fgrep &#8211;color=tty -d skip&#8217;</p>
<p>Good tips, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sapphirecat</title>
		<link>http://www.jorgebernal.info/technology/some-bash-aliases-to-speed-up-daily-tasks/comment-page-1#comment-1301</link>
		<dc:creator>sapphirecat</dc:creator>
		<pubDate>Tue, 20 May 2008 00:48:11 +0000</pubDate>
		<guid isPermaLink="false">http://koke.amedias.org/?p=184#comment-1301</guid>
		<description>My ~/.ssh/config file looks a lot like so:

Host foo
HostName foo.bar.com

Host baz
HostName 192.168.0.1

Host *
Protocol 2
....

Then I can use &quot;foo&quot; or &quot;baz&quot; as hostnames in ssh/scp without needing to come up with any cleverly named aliases.</description>
		<content:encoded><![CDATA[<p>My ~/.ssh/config file looks a lot like so:</p>
<p>Host foo<br />
HostName foo.bar.com</p>
<p>Host baz<br />
HostName 192.168.0.1</p>
<p>Host *<br />
Protocol 2<br />
&#8230;.</p>
<p>Then I can use &#8220;foo&#8221; or &#8220;baz&#8221; as hostnames in ssh/scp without needing to come up with any cleverly named aliases.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
