<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bash shell Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/bash-shell/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 30 Nov 2018 10:00:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Bash Auto Completion</title>
		<link>https://www.osradar.com/bash-auto-completion/</link>
					<comments>https://www.osradar.com/bash-auto-completion/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Thu, 29 Nov 2018 18:57:12 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bash auto completion]]></category>
		<category><![CDATA[bash code]]></category>
		<category><![CDATA[bash completion]]></category>
		<category><![CDATA[bash linux]]></category>
		<category><![CDATA[bash shell]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7810</guid>

					<description><![CDATA[<p>When you’re on Linux, the art of “terminal and commands” is a daily dose. The terminal is a powerful solution for the Linux platform that can perform wonders and tons of tasks. It also provides great versatility and control over the system. In the case of Bash – the most popular shell for Linux, auto [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/bash-auto-completion/">Bash Auto Completion</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When you’re on Linux, the art of “terminal and commands” is a daily dose. The terminal is a powerful solution for the Linux platform that can perform wonders and tons of tasks. It also provides great versatility and control over the system.</p>
<p>In the case of Bash – the most popular shell for Linux, auto code completion isn’t available by default. Bash can run most of the “sh” scripts without any modification. Code auto-completion is a great feature for reducing your load of typing each and every single command as you type. If you’re interested in the code completion, then <a href="https://www.osradar.com/enjoy-fish-shell-on-linux/">Fish shell is the best choice</a>.</p>
<p>Despite default code completion, you can still enjoy the feature, thanks to the great “bash-completion”. This tool will enable the auto-completion feature on Bash shell.</p>
<p>Let’s enjoy “bash-completion” shell right away!</p>
<h1>Getting “bash-completion”</h1>
<p>The “bash-completion” provides all the available pre-built packages for the major Linux distros. <a href="https://github.com/scop/bash-completion">Check bash-completion on GitHub</a>.</p>
<p><img loading="lazy" class="size-full wp-image-7811 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-1.png" alt="" width="928" height="463" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-1.png 928w, https://www.osradar.com/wp-content/uploads/2018/11/bash-1-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-1-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-1-842x420.png 842w" sizes="(max-width: 928px) 100vw, 928px" /></p>
<p>The following guide will install “bash-completion” from source and it will apply for all the Linux distros.</p>
<p>Grab “bash-completion” –</p>
<pre class="">git clone <a href="https://github.com/scop/bash-completion.git">https://github.com/scop/bash-completion.git

cd bash-completion/</pre>
<p><img loading="lazy" class="size-full wp-image-7812 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-2.png" alt="" width="1082" height="224" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-2.png 1082w, https://www.osradar.com/wp-content/uploads/2018/11/bash-2-300x62.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-2-768x159.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-2-1024x212.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-2-1068x221.png 1068w" sizes="(max-width: 1082px) 100vw, 1082px" /></p>
<p>Build the tool –</p>
<pre>autoreconf -i

./configure

make

make check</pre>
<p><img loading="lazy" class="size-full wp-image-7813 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-3.png" alt="" width="1080" height="413" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-3.png 1080w, https://www.osradar.com/wp-content/uploads/2018/11/bash-3-300x115.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-3-768x294.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-3-1024x392.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-3-1068x408.png 1068w" sizes="(max-width: 1080px) 100vw, 1080px" /></p>
<p><img loading="lazy" class="size-full wp-image-7814 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-4.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-4.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bash-4-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-4-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-4-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-4-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bash-4-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bash-4-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7815 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-5.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-5.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bash-5-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-5-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-5-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-5-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bash-5-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bash-5-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p><img loading="lazy" class="size-full wp-image-7816 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-6.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-6.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bash-6-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-6-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-6-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-6-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bash-6-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bash-6-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7817 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-7.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-7.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bash-7-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-7-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-7-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-7-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bash-7-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bash-7-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>At this stage, you may find out some dependency issue. For passing this stage, “pytest” &gt;= 3.6, pexpect, tcllib and dejagnu.</p>
<p class="">Install “bash-completion” –</p>
<pre class="">sudo make install</pre>
<h1><img loading="lazy" class="size-full wp-image-7818 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-8.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-8.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bash-8-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-8-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-8-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-8-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bash-8-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bash-8-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7819 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-9.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-9.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bash-9-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-9-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-9-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-9-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bash-9-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bash-9-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></h1>
<h1>Using “bash-completion”</h1>
<p>It’s actually a bash script by itself. Check out the code of “bash-completion” –</p>
<pre class="">bat /etc/profile.d/bash_completion.sh</pre>
<figure id="attachment_7820" aria-describedby="caption-attachment-7820" style="width: 1085px" class="wp-caption aligncenter"><img loading="lazy" class="wp-image-7820 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-10.png" alt="" width="1085" height="549" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-10.png 1085w, https://www.osradar.com/wp-content/uploads/2018/11/bash-10-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-10-768x389.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-10-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-10-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/bash-10-830x420.png 830w" sizes="(max-width: 1085px) 100vw, 1085px" /><figcaption id="caption-attachment-7820" class="wp-caption-text">Bat &#8211; a Cat clone https://www.osradar.com/bat-advanced-cat-for-linux/</figcaption></figure>
<p>After the installation is complete, it’s time to enjoy auto code completion. Fire up a terminal –</p>
<pre class="">sudo apt i[TAB]

cat /etc/re[TAB]</pre>
<p><img loading="lazy" class="size-full wp-image-7821 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-11.png" alt="" width="1078" height="127" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-11.png 1078w, https://www.osradar.com/wp-content/uploads/2018/11/bash-11-300x35.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-11-768x90.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-11-1024x121.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-11-1068x126.png 1068w" sizes="(max-width: 1078px) 100vw, 1078px" /></p>
<p>You can also set your simple bash completion code. The method follows the following structure –</p>
<pre class="">complete -W ‘&lt;autocompletion_codes&gt;’ &lt;command_name&gt;</pre>
<p>Let’s see with an example.</p>
<pre class="">complete -W ‘google.com osradar.com’ host</pre>
<p><img loading="lazy" class="size-full wp-image-7822 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-12.png" alt="" width="1083" height="128" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-12.png 1083w, https://www.osradar.com/wp-content/uploads/2018/11/bash-12-300x35.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-12-768x91.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-12-1024x121.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-12-1068x126.png 1068w" sizes="(max-width: 1083px) 100vw, 1083px" /></p>
<p>In the above command, there will be 2 different autocomplete suggestions for “host” (google.com and osradar.com).</p>
<p>Type “host” command –</p>
<pre class="">host [TAB]</pre>
<p><img loading="lazy" class="size-full wp-image-7823 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-13.png" alt="" width="1070" height="132" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-13.png 1070w, https://www.osradar.com/wp-content/uploads/2018/11/bash-13-300x37.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-13-768x95.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-13-1024x126.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-13-1068x132.png 1068w" sizes="(max-width: 1070px) 100vw, 1070px" /></p>
<pre class="">host google.com

host osradar.com</pre>
<p><img loading="lazy" class="size-full wp-image-7824 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bash-14.png" alt="" width="1075" height="419" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bash-14.png 1075w, https://www.osradar.com/wp-content/uploads/2018/11/bash-14-300x117.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bash-14-768x299.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bash-14-1024x399.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bash-14-1068x416.png 1068w" sizes="(max-width: 1075px) 100vw, 1075px" /></p>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/bash-auto-completion/">Bash Auto Completion</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/bash-auto-completion/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C Shell – The Programmer’s Shell</title>
		<link>https://www.osradar.com/c-shell-the-programmers-shell/</link>
					<comments>https://www.osradar.com/c-shell-the-programmers-shell/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Wed, 14 Nov 2018 05:45:48 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bash shell]]></category>
		<category><![CDATA[c shell]]></category>
		<category><![CDATA[shell]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7299</guid>

					<description><![CDATA[<p>For running the command lines and scripts, there are a number of available shells for the Linux platform. We’ve already talked about ZSH, one of the most popular alternatives for the classic “bash” shell. There are a number of other shells available. Each of them offers a number of different features and facilities. Today, let’s [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/c-shell-the-programmers-shell/">C Shell – The Programmer’s Shell</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>For running the command lines and scripts, there are a number of available shells for the Linux platform. <a href="https://www.osradar.com/switch-to-zsh-on-linux/">We’ve already talked about ZSH</a>, one of the most popular alternatives for the classic “bash” shell. There are a number of other shells available. Each of them offers a number of different features and facilities.</p>
<p>Today, let’s grab and enjoy the C Shell – the shell using the C++ syntax instead of the popular and familiar “bash” syntax. It’s an old shell. However, the shell gets much love from the Unix community, especially the programmers.</p>
<p>For enjoying C Shell, you have to get the Tcsh – a modified version of the original C Shell with new features and enhancements.</p>
<p>Let’s get C Shell right away!</p>
<h1>Installing C Shell (Tcsh)</h1>
<p>C Shell is a very cool shell and a nice alternative to the default Bash shell. However, almost all the Linux distros don’t set C Shell by default. You have to install it and set it as the default shell manually.</p>
<p>Run the following command(s) according to your own Linux distro –</p>
<ul>
<li>Ubuntu</li>
</ul>
<pre class="">sudo apt install tcsh</pre>
<p><img loading="lazy" class="size-full wp-image-7302 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/c-1.png" alt="" width="1080" height="504" srcset="https://www.osradar.com/wp-content/uploads/2018/11/c-1.png 1080w, https://www.osradar.com/wp-content/uploads/2018/11/c-1-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/c-1-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/c-1-1024x478.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/c-1-696x325.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/c-1-1068x498.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/c-1-900x420.png 900w" sizes="(max-width: 1080px) 100vw, 1080px" /></p>
<ul>
<li>Debian</li>
</ul>
<pre class="">sudo apt-get install tcsh</pre>
<ul>
<li>Fedora</li>
</ul>
<pre class="">sudo dnf install tcsh</pre>
<ul>
<li>OpenSUSE</li>
</ul>
<pre class="">sudo zypper install tcsh</pre>
<ul>
<li>Arch Linux</li>
</ul>
<pre>sudo pacman -S tcsh</pre>
<ul>
<li>Other Linux distros</li>
</ul>
<p>If your system wasn’t listed above, you have to manually find out the package for your system. The package should be named as “tsch” or “c shell”. Tcsh has been around for quite a long time, so your chance of finding out C Shell is pretty high.</p>
<h1>Listing all the shells</h1>
<p>Before we switch to the new C Shell, we have to know the location of the shell(s). Run the following command –</p>
<pre class="">cat /etc/shells/</pre>
<p><img loading="lazy" class="size-full wp-image-7303 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/c-2.png" alt="" width="1077" height="240" srcset="https://www.osradar.com/wp-content/uploads/2018/11/c-2.png 1077w, https://www.osradar.com/wp-content/uploads/2018/11/c-2-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/c-2-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/c-2-1024x228.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/c-2-696x155.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/c-2-1068x238.png 1068w" sizes="(max-width: 1077px) 100vw, 1077px" /></p>
<p>In most cases, you’ll get more than one available shells in your system. Run the following command for the “tcsh” only.</p>
<pre class="">cat /etc/shells | grep tcsh</pre>
<p><img loading="lazy" class="size-full wp-image-7304 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/c-3.png" alt="" width="1072" height="139" srcset="https://www.osradar.com/wp-content/uploads/2018/11/c-3.png 1072w, https://www.osradar.com/wp-content/uploads/2018/11/c-3-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/c-3-768x100.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/c-3-1024x133.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/c-3-696x90.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/c-3-1068x138.png 1068w" sizes="(max-width: 1072px) 100vw, 1072px" /></p>
<p>It’s time to shift towards Tcsh.</p>
<pre class="">chsh</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" class="size-full wp-image-7306 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/c-4.png" alt="" width="1072" height="203" srcset="https://www.osradar.com/wp-content/uploads/2018/11/c-4.png 1072w, https://www.osradar.com/wp-content/uploads/2018/11/c-4-300x57.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/c-4-768x145.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/c-4-1024x194.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/c-4-696x132.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/c-4-1068x202.png 1068w" sizes="(max-width: 1072px) 100vw, 1072px" /></p>
<p>Now, when asked about “Login shell”, enter “/bin/tcsh” (without quotes).</p>
<p><img loading="lazy" class="size-full wp-image-7300 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/c-5.png" alt="" width="1082" height="393" srcset="https://www.osradar.com/wp-content/uploads/2018/11/c-5.png 1082w, https://www.osradar.com/wp-content/uploads/2018/11/c-5-300x109.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/c-5-768x279.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/c-5-1024x372.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/c-5-696x253.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/c-5-1068x388.png 1068w" sizes="(max-width: 1082px) 100vw, 1082px" /></p>
<p>Voila! C Shell is your default shell now!</p>
<h1>Reverting back to Bash</h1>
<p>Not interested in C Shell anymore? Run the following command for reverting back to Bash –</p>
<pre>chsh</pre>
<p>&nbsp;</p>
<p>Enter the value –</p>
<pre class="">/bin/bash</pre>
<p><img loading="lazy" class="size-full wp-image-7301 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/c-6.png" alt="" width="1078" height="241" srcset="https://www.osradar.com/wp-content/uploads/2018/11/c-6.png 1078w, https://www.osradar.com/wp-content/uploads/2018/11/c-6-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/c-6-768x172.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/c-6-1024x229.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/c-6-696x156.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/c-6-1068x239.png 1068w" sizes="(max-width: 1078px) 100vw, 1078px" /></p>
<p>Voila! Bash is back!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/c-shell-the-programmers-shell/">C Shell – The Programmer’s Shell</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/c-shell-the-programmers-shell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
