User Tools

Site Tools


deptlab:cs101:cli_nano

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deptlab:cs101:cli_nano [2020/10/23 16:23] – [Using Nano] localadmindeptlab:cs101:cli_nano [2021/09/01 13:31] (current) – [Editing with Nano] localadmin
Line 1: Line 1:
-====== Introduction to the nano Text Editor ======+====== Introduction to the Nano Text Editor ======
  
-Nano is an easy-to-use terminal based text editor that's both simple and versatile. Nano is available on all CS department Linux lab and research computers. It's a clone of the old Pico.+Nano is an easy-to-use terminal based text editor that's both simple and versatile. Nano is available on all CS department Linux lab and research computers. It's a clone of the old Pico editor.
  
 There are other command line text editors available such as Vim and Emacs but I recommend Nano as the easiest to learn. Some people recommend Vim and you can [[http://letmegooglethat.com/?q=How+to+use+vim|Google how to use Vim]] if you want. There are other command line text editors available such as Vim and Emacs but I recommend Nano as the easiest to learn. Some people recommend Vim and you can [[http://letmegooglethat.com/?q=How+to+use+vim|Google how to use Vim]] if you want.
 ===== Running Nano ===== ===== Running Nano =====
  
-Nano is a command line text editor so open a terminal. In the CS Department's Linux lab you can find MATE Terminal in the upper left menu under Applications --> System Tools.+Nano is a command line text editor so you need to open a terminal. In the CS Department's Linux lab you can find MATE Terminal in the upper left menu under Applications --> System Tools.
  
 {{:deptlab:cs101:mate_terminal.png?direct&600|}} {{:deptlab:cs101:mate_terminal.png?direct&600|}}
Line 41: Line 41:
 Nano is a WYSIWYG editor; “what you see is what you get.” What you type directly goes into the text input, unless you modify it with a key like Control or Meta. It’s pretty simple, so type some text out, or copy something and paste it into your terminal.  Nano is a WYSIWYG editor; “what you see is what you get.” What you type directly goes into the text input, unless you modify it with a key like Control or Meta. It’s pretty simple, so type some text out, or copy something and paste it into your terminal. 
  
-**Note:** As with many programs, copying text from Microsoft Products can induce unexpected characters so watch what you paste+**Note:** As with many programs, copying text from Microsoft Products can induce unexpected characters so watch what you paste. Quotes and emdashs (—) are often problematic so watch those. 
  
-{{:deptlab:cs101:nano_text.png?direct&600|Beowulf is a 1000 year old Nordic poem.}} +{{:deptlab:cs101:nano_text.png?direct&600|Beowulf is a 1,000 year old Nordic poem. You should read it. https://www.bl.uk/collection-items/beowulf}} 
  
  
Line 121: Line 121:
 ==== Exiting Nano ==== ==== Exiting Nano ====
  
-Use Ctrl+X to exit Nano+Use Ctrl+X to exit Nano
 + 
 +Type exit to close a terminal.
deptlab/cs101/cli_nano.1603488193.txt.gz · Last modified: 2020/10/23 16:23 by localadmin