<?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: Bash Shell Temporarily Disable an Alias</title> <atom:link href="http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-41203</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Tue, 14 Apr 2009 17:54:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-41203</guid> <description>This is not about clearing screen. It is about disabling aliases.</description> <content:encoded><![CDATA[<p>This is not about clearing screen. It is about disabling aliases.</p> ]]></content:encoded> </item> <item><title>By: Topper</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-41202</link> <dc:creator>Topper</dc:creator> <pubDate>Tue, 14 Apr 2009 17:46:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-41202</guid> <description>Yes it is ?</description> <content:encoded><![CDATA[<p>Yes it is ?</p> ]]></content:encoded> </item> <item><title>By: Kristian</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-41201</link> <dc:creator>Kristian</dc:creator> <pubDate>Tue, 14 Apr 2009 16:24:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-41201</guid> <description>Doesn&#039;t control-L clear the screen?</description> <content:encoded><![CDATA[<p>Doesn&#8217;t control-L clear the screen?</p> ]]></content:encoded> </item> <item><title>By: Rory Browne</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40779</link> <dc:creator>Rory Browne</dc:creator> <pubDate>Mon, 16 Mar 2009 12:11:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40779</guid> <description>There seem to be some useful tips here - I usually do something like /bin/rm to avoid the rm -i alias. Of course you can always use the -f argument with cancels out -i.
Another thing you could do ( if you wanted to use an unedited version of the command ) would be to start up a sub-shell.
Something along the lines of......
bash
unalias ls
ls
exit
When you exit back out to the parent shell, your unalias is forgotten.</description> <content:encoded><![CDATA[<p>There seem to be some useful tips here &#8211; I usually do something like /bin/rm to avoid the rm -i alias. Of course you can always use the -f argument with cancels out -i.</p><p>Another thing you could do ( if you wanted to use an unedited version of the command ) would be to start up a sub-shell.</p><p>Something along the lines of&#8230;&#8230;</p><p>bash<br
/> unalias ls<br
/> ls<br
/> exit</p><p>When you exit back out to the parent shell, your unalias is forgotten.</p> ]]></content:encoded> </item> <item><title>By: Topper</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40766</link> <dc:creator>Topper</dc:creator> <pubDate>Sun, 15 Mar 2009 08:45:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40766</guid> <description>unalias [-a] [name ...]
Remove each name from the list of defined aliases
I think that will be removed permanently.</description> <content:encoded><![CDATA[<p>unalias [-a] [name ...]<br
/> Remove each name from the list of defined aliases<br
/> I think that will be removed permanently.</p> ]]></content:encoded> </item> <item><title>By: Aditya</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40765</link> <dc:creator>Aditya</dc:creator> <pubDate>Sun, 15 Mar 2009 06:42:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40765</guid> <description>How about unaliasing?
say I&#039;ve a few aliases defined in my ~/.bashrc and ls is one of them:
alias ls=&#039;ls -alhF&#039;
so on prompt to disable it temporarily I will say:
&gt; unalias ls
and done......how about this solution?</description> <content:encoded><![CDATA[<p>How about unaliasing?<br
/> say I&#8217;ve a few aliases defined in my ~/.bashrc and ls is one of them:<br
/> alias ls=&#8217;ls -alhF&#8217;</p><p>so on prompt to disable it temporarily I will say:</p><p>&gt; unalias ls</p><p>and done&#8230;&#8230;how about this solution?</p> ]]></content:encoded> </item> <item><title>By: Michael Wagner</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40758</link> <dc:creator>Michael Wagner</dc:creator> <pubDate>Sat, 14 Mar 2009 20:50:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40758</guid> <description>Yes I read the post but I thought it was a question not a statement. Sorry for the misunderstanding.</description> <content:encoded><![CDATA[<p>Yes I read the post but I thought it was a question not a statement. Sorry for the misunderstanding.</p> ]]></content:encoded> </item> <item><title>By: Topper</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40755</link> <dc:creator>Topper</dc:creator> <pubDate>Sat, 14 Mar 2009 19:43:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40755</guid> <description>Exactly - this was the meaning of author&#039;s post! Did you read it ?</description> <content:encoded><![CDATA[<p>Exactly &#8211; this was the meaning of author&#8217;s post! Did you read it ?</p> ]]></content:encoded> </item> <item><title>By: Michael Wagner</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40753</link> <dc:creator>Michael Wagner</dc:creator> <pubDate>Sat, 14 Mar 2009 15:06:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40753</guid> <description>Sorry, the output was not correct. You can disable it when you put a \ before the alias.
Michael</description> <content:encoded><![CDATA[<p>Sorry, the output was not correct. You can disable it when you put a \ before the alias.</p><p>Michael</p> ]]></content:encoded> </item> <item><title>By: Michael Wagner</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40752</link> <dc:creator>Michael Wagner</dc:creator> <pubDate>Sat, 14 Mar 2009 15:04:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40752</guid> <description>Sorry, the output was not correct. You can put an \ before the alias.</description> <content:encoded><![CDATA[<p>Sorry, the output was not correct. You can put an \ before the alias.</p> ]]></content:encoded> </item> <item><title>By: Michael Wagner</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40751</link> <dc:creator>Michael Wagner</dc:creator> <pubDate>Sat, 14 Mar 2009 15:03:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40751</guid> <description>You can temporarily disable it via
\
or with the full pathname of the command.
Michael</description> <content:encoded><![CDATA[<p>You can temporarily disable it via</p><p>\</p><p>or with the full pathname of the command.</p><p>Michael</p> ]]></content:encoded> </item> <item><title>By: Topper</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40750</link> <dc:creator>Topper</dc:creator> <pubDate>Sat, 14 Mar 2009 11:24:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40750</guid> <description>Also, you can see all the aliases from .bashrc or .bashcompletition or something else with
&lt;code&gt;# alias TAB&lt;/code&gt;
This will list all the aliases</description> <content:encoded><![CDATA[<p>Also, you can see all the aliases from .bashrc or .bashcompletition or something else with<br
/> <code># alias TAB</code><br
/> This will list all the aliases</p> ]]></content:encoded> </item> <item><title>By: Tim</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40748</link> <dc:creator>Tim</dc:creator> <pubDate>Sat, 14 Mar 2009 10:48:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40748</guid> <description>You can also use `command&#039;. If you have ls aliased to `ls -lh&#039;, command ls will run the ls command as if there was no alias.</description> <content:encoded><![CDATA[<p>You can also use `command&#8217;. If you have ls aliased to `ls -lh&#8217;, command ls will run the ls command as if there was no alias.</p> ]]></content:encoded> </item> <item><title>By: techfun</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40739</link> <dc:creator>techfun</dc:creator> <pubDate>Fri, 13 Mar 2009 21:09:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40739</guid> <description>No problem,  I do that kind of thing all the time myself. :)</description> <content:encoded><![CDATA[<p>No problem,  I do that kind of thing all the time myself. :)</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40738</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 13 Mar 2009 21:04:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40738</guid> <description>Thanks for the heads up.</description> <content:encoded><![CDATA[<p>Thanks for the heads up.</p> ]]></content:encoded> </item> <item><title>By: techfun</title><link>http://www.cyberciti.biz/faq/bash-shell-temporarily-disable-an-alias/#comment-40737</link> <dc:creator>techfun</dc:creator> <pubDate>Fri, 13 Mar 2009 20:55:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3453#comment-40737</guid> <description>When you said:
&lt;code&gt;alias p=&#039;clear&#039;&lt;/code&gt;
I think you meant:
&lt;code&gt;alias c=&#039;clear&#039;&lt;/code&gt;</description> <content:encoded><![CDATA[<p>When you said:<br
/> <code>alias p='clear'</code><br
/> I think you meant:<br
/> <code>alias c='clear'</code></p> ]]></content:encoded> </item> </channel> </rss>
