<?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>nano Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/nano/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 16 Dec 2020 17:15:41 +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>How to install the latest version of nano on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-latest-version-nano-ubuntu/</link>
					<comments>https://www.osradar.com/install-latest-version-nano-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 17 Dec 2020 05:15:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=26833</guid>

					<description><![CDATA[<p>Hello, friends. In recent days I was talking to some colleagues and out of the blue the subject of nano came up. This text editor is present by default in Ubuntu and we use it a lot but we never used its last version. Well, in this post, you will learn how to install the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-latest-version-nano-ubuntu/">How to install the latest version of nano 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>Hello, friends. In recent days I was talking to some colleagues and out of the blue the subject of nano came up. This text editor is present by default in Ubuntu and we use it a lot but we never used its last version. Well, in this post, you will learn how to install the latest version of nano on Ubuntu 20.04</p>



<p>Well, quickly we can say that <a href="https://www.nano-editor.org/" target="_blank" rel="noreferrer noopener">nano</a> is a text editor in the terminal. It stands out for its ease of use and speed. With this editor, we can open and modify text files and settings from the terminal. All this without sacrificing resources and comfortably.</p>



<p>Besides basic text editing, nano offers features like undo/redo, syntax coloring, interactive search-and-replace, auto-indentation, line numbers, word completion, file locking, backup files, and internationalization support</p>



<p>As we may suspect, nano is open source and is included in almost all Linux distributions that exist. But for a strange reason, we never can use the latest version and that nano has very active development.</p>



<p>So, the possibility we have is to compile it manually but there is another simpler method if we use homebrew.</p>



<h2>Install the latest version of nano on Ubuntu 20.04</h2>



<p>The process of having the latest version of nano in Ubuntu 20.04 easily and simply is thanks to Homebrew.</p>



<p>We have talked about Homebrew and we think it is a fabulous tool that allows you to install applications quickly and easily as Hugo.</p>



<p>Well, nano is also available to be installed using this tool and the best thing is that we can have the latest stable version.</p>



<p>So, first install Homebrew</p>



<p><a href="https://www.osradar.com/install-homebrew-ubuntu-20-04-debian-10/" target="_blank" rel="noreferrer noopener">How to install Homebrew on Ubuntu 20.04?</a></p>



<p>Once Homebrew is perfectly configured we can continue.</p>



<p>Check the current version of nano with the following command:</p>



<pre class="wp-block-preformatted">nano --version
GNU nano, version 4.8
  (C) 1999-2011, 2013-2020 Free Software Foundation, Inc.
  (C) 2014-2020 the contributors to nano
  Email: nano@nano-editor.org    Web: https://nano-editor.org/
  Compiled options: --disable-libmagic --enable-utf8</pre>



<p>As you can see, the version is a little old, so don&#8217;t have problems, uninstall it.</p>



<pre class="wp-block-preformatted">sudo apt autoremove nano</pre>



<p>And now install the latest version of nano</p>



<pre class="wp-block-preformatted">brew install nano</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="913" height="706" src="https://www.osradar.com/wp-content/uploads/2020/12/1-6.png" alt="1.- Install nano on Ubuntu 20.04" class="wp-image-26839" srcset="https://www.osradar.com/wp-content/uploads/2020/12/1-6.png 913w, https://www.osradar.com/wp-content/uploads/2020/12/1-6-300x232.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/1-6-768x594.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/1-6-696x538.png 696w" sizes="(max-width: 913px) 100vw, 913px" /><figcaption>1.- Install nano on Ubuntu 20.04</figcaption></figure>



<p>And at the end, check the installed version</p>



<pre class="wp-block-preformatted">nano --version</pre>



<p>Now create a test file</p>



<pre class="wp-block-preformatted">nano text.txt</pre>



<p>And add some text</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="939" height="157" src="https://www.osradar.com/wp-content/uploads/2020/12/2-5.png" alt="2.- the latest version of nano on Ubuntu 20.04" class="wp-image-26838" srcset="https://www.osradar.com/wp-content/uploads/2020/12/2-5.png 939w, https://www.osradar.com/wp-content/uploads/2020/12/2-5-300x50.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/2-5-768x128.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/2-5-696x116.png 696w" sizes="(max-width: 939px) 100vw, 939px" /><figcaption>2.- the latest version of nano on Ubuntu 20.04</figcaption></figure>



<p>You now have the latest version of nano on your system. Something simpler than it seems and that can be useful at any time.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-latest-version-nano-ubuntu/">How to install the latest version of nano 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-latest-version-nano-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>GNU NANO 5.0 available</title>
		<link>https://www.osradar.com/gnu-nano-5-available/</link>
					<comments>https://www.osradar.com/gnu-nano-5-available/#respond</comments>
		
		<dc:creator><![CDATA[marquez]]></dc:creator>
		<pubDate>Sat, 01 Aug 2020 15:00:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[News]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22102</guid>

					<description><![CDATA[<p>The famous GNU Nano terminal was born in the year 200, it has slowly gained the affection of the users. Years after years they launched new versions so the year 2020 has been no exception. Reached version 5.0, its biggest version, and positioning itself as one of the most popular terminals in the Linux distributions, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/gnu-nano-5-available/">GNU NANO 5.0 available</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The famous GNU Nano terminal was born in the year 200, it has slowly gained the affection of the users. Years after years they launched new versions so the year 2020 has been no exception.<strong> Reached version 5.0, its biggest version</strong>, and positioning itself as one of the most popular <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/htop-how-to-install-it-and-use-it/" target="_blank" rel="noreferrer noopener">terminals </a>in the Linux distributions, because of its simplicity and effectiveness.</p>



<p>GNU Nano 5.0, does not bring big news, but on the contrary, small changes and improvements that contribute to the application process. In a more agile way than the developers are used to by their users, GNU Nano 5.0 is the proof that the project is alive. <strong>And with some implementations that regular users will love.</strong></p>



<h2><strong>GNU Nano outstanding</strong> <strong>features</strong></h2>



<p>Coming with changes compared to its predecessor in version 4.x. Among the most remarkable aspects we have:</p>



<ul><li>It contains an option that has an indicator used in the &#8220;Scroll Bar&#8221; on the right side of the screen. To indicate where approximately the buffer is located in the display/text port.</li><li>The execution command symbol is accessible directly in the main menu.</li><li>Implementation of new colors like Pink, Purple, Mauve, Lagoon, Mint, Lime, Peach, Orange, and Coffee with milk. In addition to a new variant &#8220;Light&#8221; with a number of existing common colors, for the terminals that support 256 colors.</li><li>The anticipated colors with &#8220;Bold&#8221; or &#8220;Italic&#8221; for greater support of the performance.</li><li>To start with a blank space is treated as the beginning of a new paragraph, generating a new style (<code>--bookstyle</code>).</li><li>Includes support for Markdown, Haskell, and Ada.</li><li>Add-ons and changes to command and option times.</li></ul>



<h2>Conclusion</h2>



<p>This version of GNU Nano maintains the custom that developers have worked on since its inception. Continuing with its simplicity and effectiveness that have enchanted the users, positioning itself as one of the most popular terminals in the Linux distributions. The GNU Nano project is still alive, and although it does not bring any big changes it represents one more attraction to the users. Contributing to the improvement of application processes.</p>



<p>For more news go to the official <a aria-label="undefined (opens in a new tab)" href="https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00010.html" target="_blank" rel="noreferrer noopener">GNU </a>announcement. Please share this post and join <a href="https://t.me/osradar" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/gnu-nano-5-available/">GNU NANO 5.0 available</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/gnu-nano-5-available/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Nano – The CLI Text Editor</title>
		<link>https://www.osradar.com/nano-the-cli-text-editor/</link>
					<comments>https://www.osradar.com/nano-the-cli-text-editor/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Wed, 21 Nov 2018 08:31:52 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[linux text editor]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[nano text editor]]></category>
		<category><![CDATA[nano tutorial]]></category>
		<category><![CDATA[text editor]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7453</guid>

					<description><![CDATA[<p>If you’re running Linux, then having a text editor at hand is extremely crucial as you may need to edit a number of system files. Nano is a powerful text editor for Linux systems. It’s available on most of the Linux distros out there. It’s more preferable to new users than the advanced vi/vim and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/nano-the-cli-text-editor/">Nano – The CLI Text Editor</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 you’re running Linux, then having a text editor at hand is extremely crucial as you may need to edit a number of system files. Nano is a powerful text editor for Linux systems. It’s available on most of the Linux distros out there. It’s more preferable to new users than the advanced vi/vim and emacs editor.</p>
<p>Nano offers plenty of features like line numbering, searching, syntax highlight and lots of others. Learning Nano is easy. As the editor is available on all the major Linux distros, you don’t have to worry about other text editors at all.</p>
<h1>Installing Nano</h1>
<p>In cases, your system may not come up with Nano, or you uninstalled it. You can easily get this text editor for your system. Run the following command(s) according to your Linux distro –</p>
<pre class=""># Ubuntu/Debian

sudo apt install nano

# CentOS/Fedora

sudo yum install nano</pre>
<p><img loading="lazy" class="size-full wp-image-7455 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-0.png" alt="" width="1063" height="518" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-0.png 1063w, https://www.osradar.com/wp-content/uploads/2018/11/nano-0-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-0-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-0-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-0-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/nano-0-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-0-862x420.png 862w" sizes="(max-width: 1063px) 100vw, 1063px" /></p>
<p>You can also install Nano from source. <a href="https://www.nano-editor.org/download.php">Get the latest source code of Nano</a>.</p>
<p><img loading="lazy" class="size-full wp-image-7456 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-1.png" alt="" width="1345" height="473" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-1.png 1345w, https://www.osradar.com/wp-content/uploads/2018/11/nano-1-300x106.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-1-768x270.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-1-1024x360.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-1-696x245.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-1-1068x376.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/nano-1-1194x420.png 1194w" sizes="(max-width: 1345px) 100vw, 1345px" /></p>
<p>Then, run the following commands –</p>
<pre class="">tar -xvzf nano-3.2.tar.gz

cd nano-3.2/

./configure

make

sudo make install</pre>
<h1><img loading="lazy" class="size-full wp-image-7457 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-2.png" alt="" width="1060" height="717" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-2.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-2-300x203.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-2-768x519.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-2-1024x693.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-2-696x471.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-2-621x420.png 621w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7458 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-3.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-3.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-3-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-3-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-3-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-3-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-3-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-3-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-3-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7459 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-4.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-4.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-4-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-4-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-4-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-4-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-4-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-4-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-4-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7460 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-5.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-5.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-5-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-5-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-5-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-5-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-5-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-5-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-5-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7461 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-6.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-6.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-6-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-6-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-6-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-6-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-6-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-6-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-6-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /> <img loading="lazy" class="size-full wp-image-7462 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-7.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-7.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-7-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-7-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-7-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-7-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-7-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-7-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-7-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></h1>
<h1>Nano usage</h1>
<p>Let’s fire up Nano.</p>
<pre class="">nano</pre>
<p><img loading="lazy" class="size-full wp-image-7463 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-8.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-8.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>This is the window of Nano. At the bottom, you’ll notice all the available actions you can perform.</p>
<p>Here’s a short list you need to keep in mind at all cost –</p>
<p>Write out – ^O (Ctrl + O)</p>
<p>Exit &#8211; ^X (Ctrl + X)</p>
<p>Search – ^W (Ctrl + W)</p>
<p>In the case of other options, you can easily check them out at the end of the window of Nano.</p>
<p>If you press ^G (Ctrl + G), the help option will pop up.</p>
<p><img loading="lazy" class="size-full wp-image-7464 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-9.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-9.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-9-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-9-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-9-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-9-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-9-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-9-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-9-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<ul>
<li>Creating a new file</li>
</ul>
<p>Fire up Nano –</p>
<pre class="">nano</pre>
<p><img loading="lazy" class="size-full wp-image-7463 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-8.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-8.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-8-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Type something in there –</p>
<p><img loading="lazy" class="size-full wp-image-7465 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-10.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-10.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-10-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-10-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-10-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-10-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/nano-10-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/nano-10-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-10-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Save the file –</p>
<p><img loading="lazy" class="size-full wp-image-7466 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-11.png" alt="" width="1060" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-11.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-11-300x188.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-11-768x483.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-11-1024x643.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-11-696x437.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-11-668x420.png 668w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p><img loading="lazy" class="size-full wp-image-7467 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-12.png" alt="" width="1060" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-12.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-12-300x188.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-12-768x483.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-12-1024x643.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-12-696x437.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-12-668x420.png 668w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>You can find out the file on the directory you were in.</p>
<p><img loading="lazy" class="size-full wp-image-7468 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-13.png" alt="" width="1085" height="301" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-13.png 1085w, https://www.osradar.com/wp-content/uploads/2018/11/nano-13-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-13-768x213.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-13-1024x284.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-13-696x193.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-13-1068x296.png 1068w" sizes="(max-width: 1085px) 100vw, 1085px" /></p>
<p>&nbsp;</p>
<p><em>Note – I’m using Bat as an alternative to the popular “cat” command. <a href="https://www.osradar.com/bat-advanced-cat-for-linux/">Learn more about Bat – a “cat” clone with lots of improvements</a>.</em></p>
<ul>
<li>Opening file with Nano</li>
</ul>
<p>Run the following command –</p>
<pre class="">nano ~/.bashrc</pre>
<p><img loading="lazy" class="size-full wp-image-7469 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-14.png" alt="" width="1060" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-14.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-14-300x188.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-14-768x483.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-14-1024x643.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-14-696x437.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-14-668x420.png 668w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>You can see that the file is available for reading and editing.</p>
<p>Sometimes, you need to locate to the exact line and column of the file. Use the following command –</p>
<pre class="">nano +line,columns &lt;file&gt;</pre>
<p><img loading="lazy" class="size-full wp-image-7474 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-15.png" alt="" width="1060" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-15.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-15-300x188.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-15-768x483.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-15-1024x643.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-15-696x437.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-15-668x420.png 668w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>If you’re in need of editing any system files, make sure that you use “sudo” for avoiding any conflict.</p>
<pre class="">sudo nano &lt;file&gt;</pre>
<ul>
<li>Copy and paste</li>
</ul>
<p>Move the cursor to the place you want to copy the text –</p>
<p><img loading="lazy" class="size-full wp-image-7471 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-16.png" alt="" width="1060" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-16.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-16-300x188.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-16-768x483.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-16-1024x643.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-16-696x437.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-16-668x420.png 668w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Hold Shift and move the cursor with your arrow keys.</p>
<p><img loading="lazy" class="size-full wp-image-7472 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-17.png" alt="" width="1060" height="581" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-17.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-17-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-17-768x421.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-17-1024x561.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-17-696x381.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-17-766x420.png 766w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>For copying the text, press “M-6” (Alt + 6).</p>
<p>&nbsp;</p>
<p>For pasting the content, press “Ctrl + U”.</p>
<p><img loading="lazy" class="size-full wp-image-7473 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/nano-18.png" alt="" width="1060" height="581" srcset="https://www.osradar.com/wp-content/uploads/2018/11/nano-18.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/nano-18-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/nano-18-768x421.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/nano-18-1024x561.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/nano-18-696x381.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/nano-18-766x420.png 766w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Note that Nano isn’t able to interact with the global system clipboard. The copy and paste are only limited within Nano. If you’re using a terminal emulator, you have to use the emulator’s system of copying and pasting from the lines.</p>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/nano-the-cli-text-editor/">Nano – The CLI Text Editor</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/nano-the-cli-text-editor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
