<?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>nu shell Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/nu-shell/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 10 Oct 2020 17:29:54 +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>Install Nu Shell on Ubuntu 20.04</title>
		<link>https://www.osradar.com/install-nu-shell-ubuntu/</link>
					<comments>https://www.osradar.com/install-nu-shell-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 11 Oct 2020 22:27:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[nu shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15887</guid>

					<description><![CDATA[<p>If there is one thing we can reproach Linux every time it is the lack of variety in the programs. Every day there are more and better that cover all areas of computer science. It also includes terminal emulators. Today, we will tell you about a new one called Nu shell. This terminal for Linux [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nu-shell-ubuntu/">Install Nu Shell on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If there is one thing we can reproach Linux every time it is the lack of variety in the programs. Every day there are more and better that cover all areas of computer science. It also includes terminal emulators. <strong>Today, we will tell you about a new one called Nu shell.</strong> This terminal for Linux is also fast and with important improvements.</p>
<h2>Nu shell?</h2>
<p>Let&#8217;s start with the basics. What is Nu Shell? Well, <strong>Nu shell is a new terminal, released under the MIT license and created in Rust with a different paradigm than others</strong>. According to its official documentation the goal of this project is &#8220;to take the Unix philosophy of shells, where pipes connect simple commands together, and bring it to the modern style of development&#8221;.</p>
<p>So, we can say with these objectives that Nu Shell intends to modernize the output of some commands in the terminal. Adapting them to situations less complex to understand and ideal for developers or sysadmin.</p>
<h2>Install it on Ubuntu 20.04</h2>
<p>Nu Shell is created in Rust. For tango we can use the Rust package manager called cargo. However, obviously the first step is to install Rust on Linux.</p>
<p><a href="https://www.osradar.com/install-rust-programming-language-ubuntu-debian/" target="_blank" rel="noopener noreferrer">How to install Rust on Ubuntu 20.04 / Debian 10?</a></p>
<p>Then, you have to install some dependencies. If you use Debian, Ubuntu or one of their dervidas, just use this command:</p>
<pre>:~$ sudo apt install pkg-config libssl-dev libxcb-composite0-dev libx11-dev</pre>
<p>And then, if we can start the installation.</p>
<pre>:~$ cargo install nu --all-features</pre>
<figure id="attachment_16070" aria-describedby="caption-attachment-16070" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-16070 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/1-20.png" alt="1.- Installing Nu Shell on Ubuntu 20.04" width="1365" height="717" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-20.png 1365w, https://www.osradar.com/wp-content/uploads/2019/11/1-20-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-20-1024x538.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/1-20-768x403.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-20-696x366.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/1-20-1068x561.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/1-20-800x420.png 800w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-16070" class="wp-caption-text">1.- Installing Nu Shell on Ubuntu 20.04</figcaption></figure>
<p>And we wait for the process to end.</p>
<h2>Using Nu Shell</h2>
<p>The first thing to say is that the official documentation of the project is quite good. And we will use it for some illustrative examples.</p>
<p>To start the program just use the following command:</p>
<pre>:~$ nu</pre>
<figure id="attachment_16071" aria-describedby="caption-attachment-16071" style="width: 998px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16071" src="https://www.osradar.com/wp-content/uploads/2019/11/2-19.png" alt="2.- Launch Nu Shell" width="998" height="174" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-19.png 998w, https://www.osradar.com/wp-content/uploads/2019/11/2-19-300x52.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-19-768x134.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-19-696x121.png 696w" sizes="(max-width: 998px) 100vw, 998px" /><figcaption id="caption-attachment-16071" class="wp-caption-text">2.- Launch Nu Shell</figcaption></figure>
<p>And to exit the application, just run <strong>exit</strong>.</p>
<p>To see a sample of the potential of the application, let&#8217;s use the command <strong>ls</strong> in any directory. Remember that the command ls shows the files in a directory.</p>
<figure id="attachment_16072" aria-describedby="caption-attachment-16072" style="width: 781px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16072" src="https://www.osradar.com/wp-content/uploads/2019/11/3-18.png" alt="3.- Using Nu Shell - The ls command" width="781" height="321" srcset="https://www.osradar.com/wp-content/uploads/2019/11/3-18.png 781w, https://www.osradar.com/wp-content/uploads/2019/11/3-18-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/3-18-768x316.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/3-18-696x286.png 696w" sizes="(max-width: 781px) 100vw, 781px" /><figcaption id="caption-attachment-16072" class="wp-caption-text">3.- Using Nu Shell &#8211; The ls command</figcaption></figure>
<p>As we can see that is the content of the carptea Music of my system. But what stands out is the way in which the command is presented to us, different from the typical Linux terminal.</p>
<p>Easily and quickly we can have information about the files in a folder. But the strength of the application are the pipes and the filters. <strong>What if we want to show only the folders?</strong></p>
<p>I will go back to my personal folder and from there I will illustrate the example.</p>
<p>Just, run:</p>
<pre>:~$ ls | where type == Directory</pre>
<figure id="attachment_16073" aria-describedby="caption-attachment-16073" style="width: 979px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16073" src="https://www.osradar.com/wp-content/uploads/2019/11/4-14.png" alt="4.- Using filters on the terminal" width="979" height="703" srcset="https://www.osradar.com/wp-content/uploads/2019/11/4-14.png 979w, https://www.osradar.com/wp-content/uploads/2019/11/4-14-300x215.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/4-14-768x551.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/4-14-696x500.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/4-14-585x420.png 585w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption id="caption-attachment-16073" class="wp-caption-text">4.- Using filters on the terminal</figcaption></figure>
<p>And that&#8217;s how fast and easy we can use the <strong>ls</strong> command.</p>
<p>Let&#8217;s see what the <strong>date</strong> command looks like.</p>
<figure id="attachment_16074" aria-describedby="caption-attachment-16074" style="width: 609px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16074" src="https://www.osradar.com/wp-content/uploads/2019/11/5-10.png" alt="5.- The date command" width="609" height="200" srcset="https://www.osradar.com/wp-content/uploads/2019/11/5-10.png 609w, https://www.osradar.com/wp-content/uploads/2019/11/5-10-300x99.png 300w" sizes="(max-width: 609px) 100vw, 609px" /><figcaption id="caption-attachment-16074" class="wp-caption-text">5.- The date command</figcaption></figure>
<p>If you use a lot of Linux, you will know that the ps command lists the active processes of our computer.</p>
<figure id="attachment_16075" aria-describedby="caption-attachment-16075" style="width: 1006px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16075" src="https://www.osradar.com/wp-content/uploads/2019/11/6-4.png" alt="6.- The ps command " width="1006" height="638" srcset="https://www.osradar.com/wp-content/uploads/2019/11/6-4.png 1006w, https://www.osradar.com/wp-content/uploads/2019/11/6-4-300x190.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/6-4-768x487.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/6-4-696x441.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/6-4-662x420.png 662w" sizes="(max-width: 1006px) 100vw, 1006px" /><figcaption id="caption-attachment-16075" class="wp-caption-text">6.- The ps command</figcaption></figure>
<p>Of course there are many more utilities that are available in the official project documentation.</p>
<p>Over time they will improve and incorporate others. In addition to polishing others.</p>
<p>So, enjoy it.</p>
<h2>Conclusion</h2>
<p>Nu shell is profiled as a revolutionary terminal that wants to adapt the shell to today&#8217;s needs without many problems. If you are sysadmin or work a lot with the terminal thank applications like this.</p>
<p>It still has a long way to go but thanks to the official documentation it is possible to get a lot out of it.</p>
<p>One last detail that I forgot to mention is that the application has autocomplete that makes the job even easier.</p>
<p><a href="https://book.nushell.sh/" target="_blank" rel="noopener noreferrer">The Nu Shell official documentation</a></p>
<p><a href="https://github.com/nushell/nushell" target="_blank" rel="noopener noreferrer">GitHub site.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nu-shell-ubuntu/">Install Nu Shell on Ubuntu 20.04</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/install-nu-shell-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
