<?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: Understanding Shell Initialization Files and User Profiles in Linux	</title>
	<atom:link href="https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 02 Feb 2023 05:51:34 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Hans		</title>
		<link>https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-1955905</link>

		<dc:creator><![CDATA[Hans]]></dc:creator>
		<pubDate>Thu, 02 Feb 2023 05:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25428#comment-1955905</guid>

					<description><![CDATA[&lt;code&gt;~/.profiles&lt;/code&gt; should be &lt;code&gt;~/.profile&lt;/code&gt;.]]></description>
			<content:encoded><![CDATA[<p><code>~/.profiles</code> should be <code>~/.profile</code>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-1022027</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Wed, 08 Aug 2018 11:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25428#comment-1022027</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-1021998&quot;&gt;Deepa&lt;/a&gt;.

@Deepa,

Thanks for such kind words, keep learning and stay connected to Tecmint..:)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-1021998">Deepa</a>.</p>
<p>@Deepa,</p>
<p>Thanks for such kind words, keep learning and stay connected to Tecmint..:)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Deepa		</title>
		<link>https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-1021998</link>

		<dc:creator><![CDATA[Deepa]]></dc:creator>
		<pubDate>Wed, 08 Aug 2018 10:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25428#comment-1021998</guid>

					<description><![CDATA[Tecmint have great articles which explains the topic very well. I am learning lot here . Thank you so much.]]></description>
			<content:encoded><![CDATA[<p>Tecmint have great articles which explains the topic very well. I am learning lot here . Thank you so much.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaron Kili		</title>
		<link>https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-885850</link>

		<dc:creator><![CDATA[Aaron Kili]]></dc:creator>
		<pubDate>Tue, 25 Apr 2017 06:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25428#comment-885850</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-885570&quot;&gt;Rick Stanley&lt;/a&gt;.

@Rick 

Good concern, but you&#039;ll notice that all the commands here where run as root, therefore the home folder is for the root(/root). The only sub section where we used a normal user login is when we explained shell invocation in interactive non login mode(using su to switch to root user or another user).

Many thanks for the feedback.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-885570">Rick Stanley</a>.</p>
<p>@Rick </p>
<p>Good concern, but you&#8217;ll notice that all the commands here where run as root, therefore the home folder is for the root(/root). The only sub section where we used a normal user login is when we explained shell invocation in interactive non login mode(using su to switch to root user or another user).</p>
<p>Many thanks for the feedback.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rick Stanley		</title>
		<link>https://www.tecmint.com/understanding-shell-initialization-files-and-user-profiles-linux/comment-page-1/#comment-885570</link>

		<dc:creator><![CDATA[Rick Stanley]]></dc:creator>
		<pubDate>Sun, 23 Apr 2017 15:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25428#comment-885570</guid>

					<description><![CDATA[Sorry, but this article is poorly written. You &lt;strong&gt;su&lt;/strong&gt; to root and then show most of the commands as root. You don&#039;t show whether the &quot;home&quot; directory is &quot;&lt;strong&gt;/root/&lt;/strong&gt;&quot;, for root, or &quot;&lt;strong&gt;/home/user/&lt;/strong&gt;&quot; for the regular user! Then later, you are logged in as a regular user when you show the &quot;&lt;strong&gt;history&lt;/strong&gt;&quot; command in the image.

You should show you are logged in as root &lt;strong&gt;(&quot;#&quot;)&lt;/strong&gt; ONLY for those command that you NEED to be logged in as root, and as a regular user &lt;strong&gt;(&quot;$&quot;)&lt;/strong&gt; for everything else!

The other problem with the &lt;strong&gt;&quot;su&quot;&lt;/strong&gt; command, is that Ubuntu and other &quot;Toy&quot; Distros have the &quot;&lt;strong&gt;su&lt;/strong&gt;&quot; command disabled, and force the user to us &quot;&lt;strong&gt;sudo&lt;/strong&gt;&quot; instead. You should instruct those users how to re-enable &quot;&lt;strong&gt;su&lt;/strong&gt;&quot; with the command:
&lt;pre&gt;
&quot;$ sudo passwd root&quot; 
&lt;/pre&gt;
Press enter, and type in a new password for root, twice.

Also, you should have changed your prompt to show exactly what directory you are currently in, for illustration purposes!]]></description>
			<content:encoded><![CDATA[<p>Sorry, but this article is poorly written. You <strong>su</strong> to root and then show most of the commands as root. You don&#8217;t show whether the &#8220;home&#8221; directory is &#8220;<strong>/root/</strong>&#8220;, for root, or &#8220;<strong>/home/user/</strong>&#8221; for the regular user! Then later, you are logged in as a regular user when you show the &#8220;<strong>history</strong>&#8221; command in the image.</p>
<p>You should show you are logged in as root <strong>(&#8220;#&#8221;)</strong> ONLY for those command that you NEED to be logged in as root, and as a regular user <strong>(&#8220;$&#8221;)</strong> for everything else!</p>
<p>The other problem with the <strong>&#8220;su&#8221;</strong> command, is that Ubuntu and other &#8220;Toy&#8221; Distros have the &#8220;<strong>su</strong>&#8221; command disabled, and force the user to us &#8220;<strong>sudo</strong>&#8221; instead. You should instruct those users how to re-enable &#8220;<strong>su</strong>&#8221; with the command:</p>
<pre>
"$ sudo passwd root" 
</pre>
<p>Press enter, and type in a new password for root, twice.</p>
<p>Also, you should have changed your prompt to show exactly what directory you are currently in, for illustration purposes!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
