<?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: Platform independent .bashrc file</title>
	<atom:link href="http://ashishagarwal.org/2010/11/10/platform-independent-bashrc-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://ashishagarwal.org/2010/11/10/platform-independent-bashrc-file/</link>
	<description></description>
	<lastBuildDate>Wed, 17 Aug 2016 12:44:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>By: Ben</title>
		<link>http://ashishagarwal.org/2010/11/10/platform-independent-bashrc-file/comment-page-1/#comment-10526</link>
		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Thu, 13 Jun 2013 15:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://ashishagarwal.org/?p=114#comment-10526</guid>
		<description><![CDATA[Great guide, thanks for posting.

Because I ssh into several different servers with generic usernames (e.g. login01), I found it more useful to use the other part of the hostname rather than the first field.

I used the following command to obtain this:

host=`echo $(hostname) &#124; sed &quot;s/$(echo &quot;$(hostname -s)\.&quot;)//g&quot;`

to obtain &quot;ls4.tacc.utexas.edu&quot; instead of &quot;login2&quot; from &quot;login2.ls4.tacc.utexas.edu&quot;]]></description>
		<content:encoded><![CDATA[<p>Great guide, thanks for posting.</p>
<p>Because I ssh into several different servers with generic usernames (e.g. login01), I found it more useful to use the other part of the hostname rather than the first field.</p>
<p>I used the following command to obtain this:</p>
<p>host=`echo $(hostname) | sed &#8220;s/$(echo &#8220;$(hostname -s)\.&#8221;)//g&#8221;`</p>
<p>to obtain &#8220;ls4.tacc.utexas.edu&#8221; instead of &#8220;login2&#8243; from &#8220;login2.ls4.tacc.utexas.edu&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
